Displaying 1 result from an estimated 1 matches for "seconds2".
Did you mean:
seconds
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
...formation should send a mail
Failure/Error: expect { click_button submit}.to change(Mailer, :count).by(1)
count should have been changed by 1, but was changed by 0
# ./spec/requests/mailer_pages_spec.rb:31:in `block (4 levels) in <top (required)>''
Finished in 0.89134 seconds2 examples, 1 failure
Failed examples:
rspec ./spec/requests/mailer_pages_spec.rb:30 # Mailer pages mail us with valid information should send a mail
Randomized with seed 17352
The model file is:
class Mailer < ActiveRecord::Base
attr_accessible :company_name, :contact_name, :address, :teleph...