From 93c9ad6ebaea278971b3fd1af4a1e1843673ac71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Fri, 27 Feb 2015 16:27:55 +0100 Subject: [PATCH] Fix participations controller spec --- spec/controllers/participations_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/participations_controller_spec.rb b/spec/controllers/participations_controller_spec.rb index f9de58b39..4262ae580 100644 --- a/spec/controllers/participations_controller_spec.rb +++ b/spec/controllers/participations_controller_spec.rb @@ -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