Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix swapped template values in build_standalone_runner.rb. #242

Merged
merged 1 commit into from

2 participants

@ChrisTM

This fixes a bug in build_standalone_runner.rb that causes the standalone SpecRunner.html to appear to have wrongly-ordered comments. The SpecRunner.html comments gave my coworker and me a short pause when we first started using Jasmine (jasmine-standalone-1.2.0.zip).

@ChrisTM ChrisTM 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.
4c28bef
@infews infews merged commit 5ca2888 into jasmine:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 17, 2012
  1. @ChrisTM

    Fix swapped template values in build_standalone_runner.rb.

    ChrisTM authored
    `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 page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 tasks/jasmine_dev/build_standalone_runner.rb
View
6 tasks/jasmine_dev/build_standalone_runner.rb
@@ -49,11 +49,11 @@ def example_jasmine_tags
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
Something went wrong with that request. Please try again.