Sha256: fc2c695b08cfa50ebed21ed10271924db2106dac43700bf66cf800fed52099f8
Contents?: true
Size: 483 Bytes
Versions: 3
Compression:
Stored size: 483 Bytes
Contents
require 'spec_helper' describe Passrock do describe '.configure' do before(:each) do Passrock.reset_configuration! end it 'allows configuration to be set with a block' do Passrock.configure do |config| config.password_db = '/path/to/db' config.private_key = 'abc12345' end expect(Passrock.configuration.password_db).to eq('/path/to/db') expect(Passrock.configuration.private_key).to eq('abc12345') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
passrock-0.0.8 | spec/passrock_spec.rb |
passrock-0.0.5 | spec/passrock_spec.rb |
passrock-0.0.4 | spec/passrock_spec.rb |