Green base specs before couch_potato update

This commit is contained in:
2015-07-17 10:11:50 +02:00
parent 3458384732
commit a8590c7b49
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ GEM
railties (>= 3.1, < 5.0) railties (>= 3.1, < 5.0)
slim (~> 3.0) slim (~> 3.0)
slop (3.6.0) slop (3.6.0)
spring (1.3.3) spring (1.3.6)
spring-commands-rspec (1.0.4) spring-commands-rspec (1.0.4)
spring (>= 0.9.1) spring (>= 0.9.1)
sprockets (2.12.3) sprockets (2.12.3)
@@ -24,6 +24,7 @@ step "a contact form object should be created having the proper data" do
end end
step "an email should be sent containing the contact form body" do step "an email should be sent containing the contact form body" do
sleep 0.2 # webkit issue
mail = ActionMailer::Base.deliveries.last mail = ActionMailer::Base.deliveries.last
mail.should be_present mail.should be_present
mail.body.should include "Awesome website!" mail.body.should include "Awesome website!"