Browse files

One last 1.8 fix

  • Loading branch information...
1 parent d8c7bf0 commit 707831f9e30d9d5d152c95d983afe3c84eecdeb5 @durran durran committed Apr 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/functional/mongoid/nested_attributes_spec.rb
View
4 spec/functional/mongoid/nested_attributes_spec.rb
@@ -4046,7 +4046,7 @@
context "when no documents has previously existed" do
let(:attributes) do
- { addresses_attributes:
+ { :addresses_attributes =>
{ "0" =>
{
:street => "Alexanderstr",
@@ -4089,7 +4089,7 @@
let(:attributes) do
{
- addresses_attributes: {
+ :addresses_attributes => {
:a => {
:id => address.id, :locations_attributes => { :b => { :name => "home" }}
},

0 comments on commit 707831f

Please sign in to comment.