From b5a85b20402e88325d4dc7834bc9d19f5f25bfa4 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Mon, 28 Sep 2015 16:17:40 +0200 Subject: [PATCH] Changes tests --- spec/features/stats_spec.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/spec/features/stats_spec.rb b/spec/features/stats_spec.rb index ee06b9c79..ef8d15ad5 100644 --- a/spec/features/stats_spec.rb +++ b/spec/features/stats_spec.rb @@ -17,10 +17,10 @@ feature 'Stats' do visit admin_stats_path - expect(page).to have_content "Debates: 1" - expect(page).to have_content "Proposals: 2" - expect(page).to have_content "Comments: 3" - expect(page).to have_content "Visits: 4" + expect(page).to have_content "Debates 1" + expect(page).to have_content "Proposals 2" + expect(page).to have_content "Comments 3" + expect(page).to have_content "Visits 4" end scenario 'Votes' do @@ -35,10 +35,10 @@ feature 'Stats' do visit admin_stats_path - expect(page).to have_content "Debate votes: 1" - expect(page).to have_content "Proposal votes: 2" - expect(page).to have_content "Comment votes: 3" - expect(page).to have_content "Total votes: 6" + expect(page).to have_content "Debate votes 1" + expect(page).to have_content "Proposal votes 2" + expect(page).to have_content "Comment votes 3" + expect(page).to have_content "Total votes 6" end scenario 'Users' do @@ -54,11 +54,11 @@ feature 'Stats' do visit admin_stats_path - expect(page).to have_content "Level three users: 1" - expect(page).to have_content "Level two users: 2" - expect(page).to have_content "Verified users: 3" - expect(page).to have_content "Unverified users: 4" - expect(page).to have_content "Total users: 7" + expect(page).to have_content "Level three users 1" + expect(page).to have_content "Level two users 2" + expect(page).to have_content "Verified users 3" + expect(page).to have_content "Unverified users 4" + expect(page).to have_content "Total users 7" end end