Remove one comment and change hash syntax

#6192
This commit is contained in:
zaziemo 2015-07-14 19:33:40 +02:00 committed by Dennis Schubert
parent f52260ec68
commit 56e0d3d57d

View file

@ -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