Skip to content

Commit

Permalink
Add stub for breaking spec filter
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Nov 20, 2013
1 parent 571f57e commit 868117b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions opal/opal/rspec/fixes.rb
Expand Up @@ -7,6 +7,13 @@ def flat_map(array)
module_function :flat_map
end

# This breaks on 2.0.0, so it is here ready for when opal bumps to 2.0.0
class RSpec::CallerFilter
def self.first_non_rspec_line
""
end
end

# String#<< is not supported by Opal
module RSpec::Expectations
def self.fail_with(message, expected = nil, actual = nil)
Expand Down

0 comments on commit 868117b

Please sign in to comment.