Skip to content

Commit

Permalink
Use skip instead of pending.
Browse files Browse the repository at this point in the history
The semantics of pending have changed in rspec-core.
  • Loading branch information
myronmarston committed Feb 10, 2014
1 parent dc27a8b commit 39acf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rspec/mocks/any_instance_spec.rb
Expand Up @@ -968,7 +968,7 @@ def call(*args)

context 'when used in conjunction with a `dup`' do
it "doesn't cause an infinite loop" do
pending "This intermittently fails on JRuby" if RUBY_PLATFORM == 'java'
skip "This intermittently fails on JRuby" if RUBY_PLATFORM == 'java'

Object.any_instance.stub(:some_method)
o = Object.new
Expand Down

0 comments on commit 39acf19

Please sign in to comment.