Sha256: edf6d9baec43d5132e563d652bfc26969bf870de14df91e204bbcb44fc61daa1

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'

describe FreezingEmail::Config do
  it 'should set/return value' do
    value = rand(999)
    FreezingEmail::Config[:key] = value
    FreezingEmail::Config[:key].should eq value
  end

  it 'should return default value for store_path' do
    expect { FreezingEmail::Config[:store_path]}.to_not raise_error(FreezingEmail::ConfigEntryNotFound)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
freezing_email-0.0.2 spec/lib/freezing_email/config_spec.rb