Fix participations controller spec

This commit is contained in:
Jonne Haß 2015-02-27 16:27:55 +01:00
parent 95053ccbf2
commit 93c9ad6eba

View file

@ -65,7 +65,7 @@ describe ParticipationsController, :type => :controller do
it 'should remove participation' do
delete :destroy, post_id: post.id
expect(alice.participations.where(:target_id => post.id)).not_to exist
expect(response.code).to eq('204')
expect(response.code).to eq('200')
end
end