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