From a0939b12796ab4a3632a200662a18968c1b70675 Mon Sep 17 00:00:00 2001 From: John Nunemaker Date: Sun, 2 Aug 2009 21:56:30 -0400 Subject: [PATCH] Removed should_eventually from some tests that were implemented and passing. --- lib/mongomapper/associations/proxy.rb | 2 +- test/functional/test_document.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/mongomapper/associations/proxy.rb b/lib/mongomapper/associations/proxy.rb index 1c0aafcc8..860ea163b 100644 --- a/lib/mongomapper/associations/proxy.rb +++ b/lib/mongomapper/associations/proxy.rb @@ -8,7 +8,7 @@ class Proxy end def initialize(owner, association) - @owner= owner + @owner = owner @association = association reset end diff --git a/test/functional/test_document.rb b/test/functional/test_document.rb index 88b339797..fc4f6d6f0 100644 --- a/test/functional/test_document.rb +++ b/test/functional/test_document.rb @@ -563,12 +563,12 @@ def setup @document.count.should == 1 end - should_eventually "update attributes" do + should "update attributes" do @doc.first_name.should == 'Johnny' @doc.age.should == 30 end - should_eventually "update attributes in the database" do + should "update attributes in the database" do from_db = @document.find(@doc.id) from_db.first_name.should == 'Johnny' from_db.age.should == 30