Implements a poster feature for the proposals dashboard
This commit is contained in:
Juan Salvador Pérez García
2018-07-31 12:50:25 +02:00
parent 06fbc8bbb4
commit 6cc1ddb9af
34 changed files with 502 additions and 115 deletions

View File

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