Created
April 26, 2012 20:30
-
-
Save dadarek/2502838 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jasmine | |
class Config | |
# Add your overrides or custom config code here | |
end | |
end | |
# Note - this is necessary for rspec2, which has removed the backtrace | |
module Jasmine | |
class SpecBuilder | |
def declare_spec(parent, spec) | |
me = self | |
example_name = spec["name"] | |
@spec_ids << spec["id"] | |
backtrace = @example_locations[parent.description + " " + example_name] | |
parent.it example_name, {} do | |
me.report_spec(spec["id"]) | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment