Fix almost all broken specs
This commit is contained in:
committed by
taitus
parent
fd9bec4d1f
commit
bb4e4dc084
@@ -522,7 +522,7 @@ feature 'Proposals' do
|
||||
|
||||
visit edit_proposal_path(proposal)
|
||||
expect(current_path).not_to eq(edit_proposal_path(proposal))
|
||||
expect(current_path).to eq(proposals_path)
|
||||
expect(current_path).to eq(root_path)
|
||||
expect(page).to have_content 'You do not have permission'
|
||||
end
|
||||
|
||||
@@ -537,7 +537,7 @@ feature 'Proposals' do
|
||||
visit edit_proposal_path(proposal)
|
||||
|
||||
expect(current_path).not_to eq(edit_proposal_path(proposal))
|
||||
expect(current_path).to eq(proposals_path)
|
||||
expect(current_path).to eq(root_path)
|
||||
expect(page).to have_content 'You do not have permission'
|
||||
Setting["max_votes_for_proposal_edit"] = 1000
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user