Sha256: e11519e5c069d152927bc51dd5ac60dc56766761b54016f7a329d27c7ba9b313
Contents?: true
Size: 546 Bytes
Versions: 8
Compression:
Stored size: 546 Bytes
Contents
require 'spec_helper' describe Reparty::Email do describe "provides variables" do let(:klass) { subject.class } let(:from) { "test@test.com" } let(:subj) { "Test Subject" } let(:title) { "Test Title" } before do Reparty.config do |config| config.from = from config.subject = subj config.title = title end end it { klass.from.should eq(from) } it { klass.subject.should eq(subj) } it { klass.title.should eq(title) } it { klass.reports.should be_empty } end end
Version data entries
8 entries across 8 versions & 1 rubygems