mention organization in dashboard, splashpage and admin/conference#edit

This commit is contained in:
shlok007 2017-07-13 04:02:13 +05:30 committed by Shlok Srivastava
parent 32c5af2a17
commit 540c982771
5 changed files with 25 additions and 1 deletions

View file

@ -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