Sha256: c2652e27f46de00fa74f566d4cdfff11a8d7bc64295dd4ccd5321d4e5230561e
Contents?: true
Size: 465 Bytes
Versions: 3
Compression:
Stored size: 465 Bytes
Contents
require 'spec_helper' describe PersistCampaign do it 'should be valid' do expect(PersistCampaign).to be_a(Module) end describe '.config' do it 'returns the configuration instance' do expect(PersistCampaign.config).to be_a(PersistCampaign::Config) end end describe '.configure' do it 'yields to the config instance' do expect { |b| PersistCampaign.configure(&b) }.to yield_with_args(PersistCampaign::Config) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
persist_campaign-0.0.3 | spec/persist_campaign_spec.rb |
persist_campaign-0.0.2 | spec/persist_campaign_spec.rb |
persist_campaign-0.0.1 | spec/persist_campaign_spec.rb |