Sha256: 8cbb512a6d6c178082082c9f2717aaba5141dbb62ae0656a46a682a7f1cf9f66
Contents?: true
Size: 520 Bytes
Versions: 21
Compression:
Stored size: 520 Bytes
Contents
require "spec_helper" module Lines describe UserMailer do describe "password_reset" do let(:user) { FactoryGirl.create(:user) } let(:mail) { UserMailer.password_reset(user) } before(:each) do user.create_reset_digest end it "renders the headers" do mail.subject.should eq("Forgot your LINES password?") mail.to.should eq([user.email]) end it "renders the body" do mail.body.encoded.should match("password") end end end end
Version data entries
21 entries across 21 versions & 2 rubygems