Sha256: 3f5bdde30c9d2b5f2e128885c6f047dca84a0c6399767c91fa0fe6b207594199
Contents?: true
Size: 992 Bytes
Versions: 13
Compression:
Stored size: 992 Bytes
Contents
require 'spec_helper' describe "Notifications page", :type => :feature do before do sign_in FactoryGirl.create(:user_with_mail) visit "/notifications" end it "should list 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
13 entries across 13 versions & 1 rubygems