Sha256: b49170603d227b310cc9386312729232fd501a8072363c9238e87b71e4330a49

Contents?: true

Size: 579 Bytes

Versions: 2

Compression:

Stored size: 579 Bytes

Contents

require 'spec_helper'

describe Saucy::Configuration do
  it "has layouts" do
    subject.layouts.should be_a(Saucy::Layouts)
  end

  it "has a mailer_sender" do
    subject.mailer_sender.should_not be_nil
  end

  it "has a nil merchant_account_id" do
    subject.merchant_account_id.should be_nil
  end

  it "can assign a mailer sender" do
    old_sender = subject.mailer_sender
    begin
      subject.mailer_sender = 'newsender@example.com'
      subject.mailer_sender.should == 'newsender@example.com'
    ensure
      subject.mailer_sender = old_sender
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
saucy-0.3.4.1 spec/saucy_spec.rb
saucy-0.3.4 spec/saucy_spec.rb