From b527ccd2fae61e80b1be9ef415b4b8328fcc225b Mon Sep 17 00:00:00 2001 From: Christopher Mitchell Date: Sat, 16 Jun 2012 16:12:49 -0700 Subject: [PATCH] Fix swapped template values in build_standalone_runner.rb. `example_source_tags` and `example_spec_tags` each returned what the other should have returned. I noticed this bug because it made the comments in SpecRunner.html about where to include spec and source files incongruous with the example tags that followed. --- tasks/jasmine_dev/build_standalone_runner.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/jasmine_dev/build_standalone_runner.rb b/tasks/jasmine_dev/build_standalone_runner.rb index 0f440657..c324740a 100644 --- a/tasks/jasmine_dev/build_standalone_runner.rb +++ b/tasks/jasmine_dev/build_standalone_runner.rb @@ -49,11 +49,11 @@ class JasmineDev < Thor end def example_source_tags - script_tags_for ['spec/SpecHelper.js', 'spec/PlayerSpec.js'] + script_tags_for ['src/Player.js', 'src/Song.js'] end def example_spec_tags - script_tags_for ['src/Player.js', 'src/Song.js'] + script_tags_for ['spec/SpecHelper.js', 'spec/PlayerSpec.js'] end end -end \ No newline at end of file +end