Skip to content

Commit

Permalink
fix spec for 1.8.7 (no idea why this wasn't caught earlier)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Jan 20, 2016
1 parent 2c41466 commit 2fcdbae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/rspec/mocks/partial_double_spec.rb
Expand Up @@ -54,8 +54,8 @@ def call(name)

an_object = the_klass.new

expect(an_object).to receive(:respond_to?)
.with(:my_method).at_least(:once) { true }
expect(an_object).to receive(:respond_to?).
with(:my_method).at_least(:once) { true }
expect(an_object).to receive(:my_method)

an_object.call :my_method
Expand Down

0 comments on commit 2fcdbae

Please sign in to comment.