VRFS-1979 fix test

This commit is contained in:
Brian Smith 2014-07-29 23:43:48 -04:00
parent 80d9d5ac28
commit fd49851815
1 changed files with 3 additions and 3 deletions

View File

@ -59,10 +59,10 @@ describe "Signup", :js => true, :type => :feature, :capybara_feature => true do
end
it {
should have_title("JamKazam")
should have_selector('h2', text: "musicians")
should have_title("Signup Confirmation")
should have_selector('h1', text: "Email Confirmed")
UserMailer.deliveries.length.should == 1
UserMailer.deliveries[0].html_part.body.include?("Following are links to some resources")== 1
UserMailer.deliveries[0].html_part.body.include?("Following are links to some resources") == 1
}
end
end