Sha256: 9fd815d9ac6a729642153cbd57db23d960a723c4e176d5fa7e882b2c47e3a3cd
Contents?: true
Size: 956 Bytes
Versions: 24
Compression:
Stored size: 956 Bytes
Contents
describe "Notifications page", type: :feature do before do sign_in FactoryGirl.create(:user_with_mail) visit "/notifications" end it "lists notifications with date, subject and message" do expect(page).to have_content "User Notifications" expect(page.find(:xpath, '//thead/tr')).to have_content "Date" expect(page.find(:xpath, '//thead/tr')).to have_content "Subject" expect(page.find(:xpath, '//thead/tr')).to have_content "Message" expect(page).to have_content "These files could not be updated. You do not have sufficient privileges to edit them. " expect(page).to have_content "These files have been saved" expect(page).to have_content "File 1 could not be updated. You do not have sufficient privileges to edit it." expect(page).to have_content "File 1 has been saved" expect(page).to have_content "Batch upload permission denied " expect(page).to have_content "Batch upload complete" end end
Version data entries
24 entries across 24 versions & 3 rubygems