Sha256: 429c64e127681aa70d8b3c692eaf7ba6b86bc3b4f78bbc25af2a0ab3c4ef5ea8
Contents?: true
Size: 559 Bytes
Versions: 9
Compression:
Stored size: 559 Bytes
Contents
require 'spec_helper' describe ActsAsTenant::Configuration do describe 'no configuration given' do before do ActsAsTenant.configure end it 'provides defaults' do expect(ActsAsTenant.configuration.require_tenant).not_to be_truthy end end describe 'with config block' do after do ActsAsTenant.configure end it 'stores config' do ActsAsTenant.configure do |config| config.require_tenant = true end expect(ActsAsTenant.configuration.require_tenant).to eq(true) end end end
Version data entries
9 entries across 9 versions & 1 rubygems