Sha256: 6b1b7178e4e43c68b3a0f18ba8f0d9dbf6a86a91be23eea54722621b0746664c
Contents?: true
Size: 475 Bytes
Versions: 7
Compression:
Stored size: 475 Bytes
Contents
require 'spec_helper' describe ContactUs do it "should be valid" do ContactUs.should be_a(Module) end describe 'setup block' do it 'should yield self' do ContactUs.setup do |config| ContactUs.should eql(config) end end end describe 'mailer_to' do it 'should be configurable' do ContactUs.mailer_to = "contact@please-change-me.com" ContactUs.mailer_to.should eql("contact@please-change-me.com") end end end
Version data entries
7 entries across 7 versions & 1 rubygems