Permalink
Browse files

Ruby 1.8 test fix

  • Loading branch information...
vesan committed Jul 19, 2012
1 parent 23d9f71 commit f4c8ffd723a63053e320e2a96ce89f79e9f030e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
View
@@ -96,7 +96,7 @@ def fixture(file)
it "accepts parameters" do
subject.object_class.should_receive(:new).with({:an => "attribute"}, subject)
- subject.build(an: "attribute")
+ subject.build(:an => "attribute")
end
end
end

0 comments on commit f4c8ffd

Please sign in to comment.