Adds email feature for proposals dashboard
This commit is contained in:
Juan Salvador Pérez García
2018-07-25 13:28:44 +02:00
parent 9b83291b16
commit 8876b285ce
31 changed files with 488 additions and 19 deletions

View File

@@ -72,6 +72,7 @@ feature "Proposal's dashboard" do
visit progress_proposal_dashboard_index_path(proposal)
within 'div#available-resources-section' do
expect(page).to have_content('Polls')
expect(page).to have_content('E-mail')
expect(page).to have_content(available.title)
expect(page).to have_content(unavailable.title)
expect(page).to have_content(requested.title)
@@ -99,6 +100,10 @@ feature "Proposal's dashboard" do
expect(page).to have_link('Polls')
end
scenario 'Dashboard has a link to e-mail feature' do
expect(page).to have_link('E-mail')
end
scenario 'Dashboard has a link to resources on main menu' do
feature = create(:dashboard_action, :resource, :active)