Browse files

Use 1.8.7 style hashes.

  • Loading branch information...
1 parent 27ce2e2 commit 72ed4881873cb86feb0aed6c5d7cbabad8f5c9c0 @readeharris readeharris committed with drapergeek Oct 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/shoulda/independent/delegate_matcher_spec.rb
View
4 spec/shoulda/independent/delegate_matcher_spec.rb
@@ -91,7 +91,7 @@ def mailman
define_class(:mailman)
define_class(:post_office) do
def deliver_mail
- mailman.deliver_mail('221B Baker St.', hastily: true)
+ mailman.deliver_mail('221B Baker St.', :hastily => true)
end
def mailman
@@ -103,7 +103,7 @@ def mailman
context 'when given the correct arguments' do
it 'matches' do
post_office = PostOffice.new
- matcher = delegate_method(:deliver_mail).to(:mailman).with_arguments('221B Baker St.', hastily: true)
+ matcher = delegate_method(:deliver_mail).to(:mailman).with_arguments('221B Baker St.', :hastily => true)
post_office.should matcher
end
end

0 comments on commit 72ed488

Please sign in to comment.