From e880cb4f1a0c7c2f34cda5d1aaec36d150cb9be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Wed, 12 Aug 2015 12:00:06 +0200 Subject: [PATCH] removes unused line from spec --- spec/features/debates_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/debates_spec.rb b/spec/features/debates_spec.rb index 6265b17d7..b0c7a3a60 100644 --- a/spec/features/debates_spec.rb +++ b/spec/features/debates_spec.rb @@ -108,7 +108,7 @@ feature 'Debates' do login_as(debate.author) visit edit_debate_path(debate) - edit_debate_path(debate) + expect(current_path).to eq(root_path) expect(page).to have_content 'not authorized' end