Sha256: 87a9d84f683b615ed37ae5375cd50737627073f40bcd5ae558702212f2cb1cae
Contents?: true
Size: 560 Bytes
Versions: 41
Compression:
Stored size: 560 Bytes
Contents
require 'spec_helper' describe IuguMailer do before(:each) do @user_invitation = Fabricate(:user_invitation) end it 'should not raise an error' do lambda {IuguMailer.invitation(@user_invitation)}.should_not raise_error end context "rendered without error" do before(:each) do @mailer = IuguMailer.invitation(@user_invitation) end it 'should have a link to accept invite' do @mailer.body.should have_link edit_invite_path(:invitation_token => @user_invitation.id.to_s + @user_invitation.token) end end end
Version data entries
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
iugusdk-1.0.0.alpha.0 | spec/mailers/iugu_mailer_spec.rb |