Displaying 2 results from an estimated 2 matches for "send_confirmation_instruct".
2013 Jun 18
1
Getting rspec error: Net::SMTPServerBusy: Relay access denied
...The test itself is very straightforward:
require ''spec_helper''
describe User do
it "sends a confirmation email" do
@user = FactoryGirl.create(:user, email: "model_spec-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org",
username: "model_spec")
@user.send_confirmation_instructions
ActionMailer::Base.deliveries.last.to.should == [@user.email]
endend
I get the same result whether I run with guard/spork or with ''rspec
spec/models/user_spec.rb''; the test always fails with
Net::SMTPServerBusy: 454 4.7.1 <model_spec-hcDgGtZH8xNBDgjK7y7TUQ@public.gm...
2011 Aug 09
0
Devise, RSpec and Webrat
...evise (1.0.9) app/models/devise_mailer.rb:42:in
`render_with_scope''
devise (1.0.9) app/models/devise_mailer.rb:31:in `setup_mail''
devise (1.0.9) app/models/devise_mailer.rb:7:in
`confirmation_instructions''
devise (1.0.9) lib/devise/models/confirmable.rb:61:in
`send_confirmation_instructions''
/usr/lib/ruby/gems/1.8/gems/factory_girl-2.0.3/lib/factory_girl/
proxy/create.rb:9:in `result''
/usr/lib/ruby/gems/1.8/gems/factory_girl-2.0.3/lib/factory_girl/
factory.rb:86:in `run''
/usr/lib/ruby/gems/1.8/gems/factory_girl-2.0.3/lib/factory_girl/
syntax/...