Sha256: 07e29511048e50b798020c1aae27ebdb9959f8035bf69142555a2b1f2a0d1a7f
Contents?: true
Size: 608 Bytes
Versions: 7
Compression:
Stored size: 608 Bytes
Contents
require 'spec_helper' describe "Notifications page" do before do sign_in :user_with_mail end it "should list notifications with date, subject and message" do visit "/notifications" page.should have_content "User Notifications" page.find(:xpath, '//thead/tr').should have_content "Date" page.find(:xpath, '//thead/tr').should have_content "Subject" page.find(:xpath, '//thead/tr').should have_content "Message" page.should have_content "Sample notification." page.should have_content "less than a minute ago" page.should have_content "You've got mail." end end
Version data entries
7 entries across 7 versions & 1 rubygems