Merge pull request #74 from CactusPuppy/176894823-Cleanup-Page-Title-on-Conference-Materials-Page
176894823 cleanup page title on conference materials page
This commit is contained in:
commit
b323018d43
2 changed files with 10 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
%h1 Session Materials
|
||||
%h1 #{@conference.title} Materials
|
||||
%p.text-muted
|
||||
Conference materials will be displayed on the events in the
|
||||
= link_to 'schedule,', conference_schedule_path(@conference.short_title)
|
||||
|
|
|
|||
|
|
@ -10,11 +10,18 @@ feature Commercial do
|
|||
let!(:participant) { create(:user) }
|
||||
|
||||
context 'in admin area' do
|
||||
scenario 'adds, updates, deletes of a conference', feature: true, js: true do
|
||||
|
||||
before do
|
||||
sign_in organizer
|
||||
|
||||
visit admin_conference_commercials_path(conference.short_title)
|
||||
end
|
||||
|
||||
scenario 'contains the conference name in the title', feature: true, js: true do
|
||||
header = conference.title + ' Materials'
|
||||
expect(page).to have_content(header)
|
||||
end
|
||||
|
||||
scenario 'adds, updates, deletes of a conference', feature: true, js: true do
|
||||
# Create valid commercial
|
||||
fill_in 'commercial_url', with: 'https://www.youtube.com/watch?v=M9bq_alk-sw'
|
||||
click_button 'Save Materials'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue