From 56e0d3d57d4b4e0e1f2d3b82de2d304b065ad221 Mon Sep 17 00:00:00 2001 From: zaziemo Date: Tue, 14 Jul 2015 19:33:40 +0200 Subject: [PATCH] Remove one comment and change hash syntax #6192 --- spec/models/comment_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/models/comment_spec.rb b/spec/models/comment_spec.rb index 8d5e12eff..8b26ab871 100644 --- a/spec/models/comment_spec.rb +++ b/spec/models/comment_spec.rb @@ -109,7 +109,6 @@ describe Comment, :type => :model do end end - #Andy fragen - shared behaviour describe 'it is relayable' do let(:remote_parent) { build(:status_message, author: remote_raphael) } let(:local_parent) { local_luke.post :status_message, text: "hi", to: local_luke.aspects.first } @@ -127,7 +126,7 @@ describe Comment, :type => :model do @object_on_remote_parent = object_on_remote_parent end - let(:build_object) { alice.build_comment(:post => status_bob, :text => "why so formal?") } + let(:build_object) { alice.build_comment(post: status_bob, text: "why so formal?") } it_should_behave_like 'it is relayable' end