Merge branch 'master' into issue_1608
This commit is contained in:
commit
678d0ae90e
12 changed files with 44 additions and 6 deletions
|
|
@ -71,6 +71,15 @@ feature Conference do
|
|||
end
|
||||
|
||||
describe 'admin' do
|
||||
let!(:conference) { create(:conference) }
|
||||
|
||||
scenario 'has organization name in menu bar for conference views', feature: true, js: true do
|
||||
sign_in user
|
||||
visit admin_conference_path(conference.short_title)
|
||||
|
||||
expect(find('.navbar-brand').text).to eq(conference.organization.name)
|
||||
end
|
||||
|
||||
it_behaves_like 'add and update conference'
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -61,4 +61,15 @@ feature Splashpage do
|
|||
expect(current_path).to eq(root_path)
|
||||
end
|
||||
end
|
||||
|
||||
context 'public splashpage already created' do
|
||||
let!(:splashpage) { create(:splashpage, conference: conference, public: true)}
|
||||
|
||||
scenario 'should have organization name', feature: true, js: true do
|
||||
sign_in participant
|
||||
visit conference_path(conference.short_title)
|
||||
|
||||
expect(page).to have_text(conference.organization.name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue