Created
May 14, 2012 23:44
-
-
Save bionicpill/2698113 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BrandedSavedSearchMailer < ActionMailer::Base | |
def email(agent, client) | |
end | |
end | |
require 'spec_helper' | |
describe BrandedSavedSearchMailer do | |
let(:emails) { ActionMailer::Base.deliveries } | |
let(:agent) {} | |
let(:client) {} | |
describe "#email" do | |
it "sends an email" do | |
BrandedSavedSearchMailer.email(agent, client).deliver | |
emails.first.should_not be nil | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment