Sha256: 0f611fb18f825ec5570548afec668b8279aa7f79b9e8e0edf70d2b0c4ab8950d

Contents?: true

Size: 486 Bytes

Versions: 19

Compression:

Stored size: 486 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 "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

19 entries across 19 versions & 1 rubygems

Version Path
saucy-0.3.3 spec/saucy_spec.rb
saucy-0.3.2 spec/saucy_spec.rb
saucy-0.3.1 spec/saucy_spec.rb
saucy-0.3.0 spec/saucy_spec.rb
saucy-0.2.45 spec/saucy_spec.rb
saucy-0.2.44 spec/saucy_spec.rb
saucy-0.2.43 spec/saucy_spec.rb
saucy-0.2.42 spec/saucy_spec.rb
saucy-0.2.41 spec/saucy_spec.rb
saucy-0.2.40 spec/saucy_spec.rb
saucy-0.2.39 spec/saucy_spec.rb
saucy-0.2.38 spec/saucy_spec.rb
saucy-0.2.36 spec/saucy_spec.rb
saucy-0.2.35 spec/saucy_spec.rb
saucy-0.2.34 spec/saucy_spec.rb
saucy-0.2.33 spec/saucy_spec.rb
saucy-0.2.32 spec/saucy_spec.rb
saucy-0.2.31 spec/saucy_spec.rb
saucy-0.2.30 spec/saucy_spec.rb