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.
This commit is contained in:
Christopher Mitchell
2012-06-16 16:12:49 -07:00
committed by Davis W. Frank & Rajan Agaskar
parent cfa95fcf2c
commit b527ccd2fa

View File

@@ -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
end