Skip to content

Commit d401bf6

Browse files
committedFeb 3, 2019
Set these specs as pending for every 0.11 version
This is in preparation to the Opal 1.0 release.
1 parent c7faeea commit d401bf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎rspec-core/spec/filters.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
fails "RSpec::Core::Configuration#warnings is loaded from config by #force"
205205

206206
require 'opal/version'
207-
if Opal::VERSION == '0.11.1'
207+
if Opal::VERSION.start_with?('0.11.')
208208
fails "RSpec::Core::Configuration assigns the example name as the filter on description"
209209
fails "RSpec::Core::Configuration with full_description set is possible to access the full description regular expression"
210210
end

‎rspec-expectations/spec/filters.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
fails "yield_successive_args matcher has a description"
183183

184184
require 'opal/version'
185-
if Opal::VERSION == '0.11.1'
185+
if Opal::VERSION.start_with?('0.11.')
186186
fails "expect { ... }.to raise_error(NamedError) fails if another error is raised (NameError)", "expected RSpec::Expectations::ExpectationNotMetError with message matching /expected NameError, got #"
187187
end
188188
end

0 commit comments

Comments
 (0)