Permalink
Browse files

Fix 1.8. failures

  • Loading branch information...
1 parent d8e10c1 commit 77c245a7af6aff12f802583a483fc94068c79f04 @durran durran committed Apr 20, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/app/models/person.rb
  2. +1 −1 spec/functional/mongoid/relations/proxy_spec.rb
@@ -49,7 +49,7 @@ def extension
"Testing"
end
def find_by_street(street)
- where(street: street).first
+ where(:street => street).first
end
end
embeds_many :address_components, :validate => false
@@ -32,7 +32,7 @@ module Testable
context "when extending from the relation definition" do
let!(:address) do
- person.addresses.create(street: "hobrecht")
+ person.addresses.create(:street => "hobrecht")
end
let(:found) do

0 comments on commit 77c245a

Please sign in to comment.