Sha256: 7f363cb4c5cfbccdf257c2d81f207ecc6d5609f05e7cfc9fab4829d3c728c39a
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
require 'spec_helper' describe MultiSync do context :methods do describe :version do subject { MultiSync::VERSION } it { should be_kind_of(String) } end describe :logger do subject { MultiSync.respond_to?(:logger) } it { should be_true } end describe :environment do subject { MultiSync.respond_to?(:environment) } it { should be_true } end describe :credentials do subject { MultiSync.respond_to?(:credentials) } it { should be_true } end describe :run do subject { MultiSync.respond_to?(:run) } it { should be_true } end describe :configure do subject { MultiSync.respond_to?(:configure) } it { should be_true } end end context :configure do it 'should allow you to set configuration' do MultiSync.configure do |config| config.verbose = true config.target_pool_size = 2 end expect(MultiSync.verbose).to be_true expect(MultiSync.target_pool_size).to be 2 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
multi_sync-0.0.1 | spec/unit/multi_sync_spec.rb |