adds extra expectations to spec

to include items from the new admin menu
This commit is contained in:
Juanjo Bazán
2016-12-02 14:29:37 +01:00
parent f67f058b57
commit 418b0a4801

View File

@@ -30,6 +30,7 @@ feature 'Admin feature flags' do
within('#side_menu') do
expect(page).not_to have_link "Budgets"
expect(page).not_to have_link "Spending proposals"
end
expect{ visit spending_proposals_path }.to raise_exception(FeatureFlags::FeatureDisabled)
@@ -44,6 +45,7 @@ feature 'Admin feature flags' do
within('#side_menu') do
expect(page).not_to have_link "Budgets"
expect(page).not_to have_link "Spending proposals"
end
visit admin_settings_path