Skip to content

Instantly share code, notes, and snippets.

@dpickett
Created January 25, 2011 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpickett/795439 to your computer and use it in GitHub Desktop.
Save dpickett/795439 to your computer and use it in GitHub Desktop.
require 'spec_helper'
describe UserActivation do
subject { UserActivation.notice }
it 'delivers without error' do
PostmasterGeneral.log_deliveries("a_delivery.txt") do
lambda { subject.deliver }.should_not raise_error
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment