Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/reshare_spec.rb')
-rw-r--r--spec/models/reshare_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/reshare_spec.rb b/spec/models/reshare_spec.rb
index 39cbbcbf2..97593c115 100644
--- a/spec/models/reshare_spec.rb
+++ b/spec/models/reshare_spec.rb
@@ -26,7 +26,7 @@ describe Reshare, type: :model do
reshare1 = FactoryGirl.create(:reshare, author: alice.person)
reshare2 = FactoryGirl.create(:reshare, author: alice.person)
- reshare1.update_attributes(root_guid: nil)
+ reshare1.update(root_guid: nil)
reshare2.root_guid = nil
expect(reshare2).to be_valid