Skip to content

Instantly share code, notes, and snippets.

@bionicpill
Created May 14, 2012 23:44
Show Gist options
  • Save bionicpill/2698113 to your computer and use it in GitHub Desktop.
Save bionicpill/2698113 to your computer and use it in GitHub Desktop.
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