Updates texts on specs
This commit is contained in:
@@ -114,7 +114,7 @@ feature 'Admin banners magement' do
|
||||
visit admin_root_path
|
||||
|
||||
within('#side_menu') do
|
||||
click_link "Banners"
|
||||
click_link "Site content"
|
||||
click_link "Manage banners"
|
||||
end
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ feature 'Admin comments' do
|
||||
comment = create(:comment, :hidden, body: 'SPAM')
|
||||
visit admin_comments_path
|
||||
|
||||
click_link 'Confirm'
|
||||
click_link 'Confirm moderation'
|
||||
|
||||
expect(page).not_to have_content(comment.body)
|
||||
click_link('Confirmed')
|
||||
|
||||
@@ -33,7 +33,7 @@ feature 'Admin debates' do
|
||||
debate = create(:debate, :hidden)
|
||||
visit admin_debates_path
|
||||
|
||||
click_link 'Confirm'
|
||||
click_link 'Confirm moderation'
|
||||
|
||||
expect(page).not_to have_content(debate.title)
|
||||
click_link('Confirmed')
|
||||
|
||||
@@ -38,7 +38,7 @@ feature 'Admin hidden users' do
|
||||
user = create(:user, :hidden)
|
||||
visit admin_hidden_users_path
|
||||
|
||||
click_link 'Confirm'
|
||||
click_link 'Confirm moderation'
|
||||
|
||||
expect(page).not_to have_content(user.username)
|
||||
click_link('Confirmed')
|
||||
|
||||
@@ -14,7 +14,7 @@ feature 'Admin booths' do
|
||||
click_link "Booths location"
|
||||
end
|
||||
|
||||
expect(page).to have_content "There are no booths"
|
||||
expect(page).to have_content "There are no active booths for any upcoming poll."
|
||||
end
|
||||
|
||||
scenario 'Index' do
|
||||
|
||||
@@ -45,7 +45,7 @@ feature 'Admin proposals' do
|
||||
proposal = create(:proposal, :hidden)
|
||||
visit admin_proposals_path
|
||||
|
||||
click_link 'Confirm'
|
||||
click_link 'Confirm moderation'
|
||||
|
||||
expect(page).not_to have_content(proposal.title)
|
||||
click_link('Confirmed')
|
||||
|
||||
Reference in New Issue
Block a user