Sha256: 3cb551d83c610730191b7ca91269a05b053b572f27222268074ff5047f38d355
Contents?: true
Size: 1.09 KB
Versions: 16
Compression:
Stored size: 1.09 KB
Contents
require 'spec_helper' describe CorreiosSigep do describe '#configure' do subject { described_class.configuration } before do described_class.configure do |config| config.user = '60618043' config.password = '8o8otn' config.administrative_code = '08082650' config.card = '0057018901' config.contract = '9912208555' config.service_code = '41076' end end it 'configures the correct user' do expect(subject.user).to eq '60618043' end it 'configures the correct password' do expect(subject.password).to eq '8o8otn' end it 'configures the correct administrative code' do expect(subject.administrative_code).to eq '08082650' end it 'configures the correct card' do expect(subject.card).to eq '0057018901' end it 'configures the correct contract' do expect(subject.contract).to eq '9912208555' end it 'configures the correct service_code' do expect(subject.service_code).to eq '41076' end end end
Version data entries
16 entries across 16 versions & 1 rubygems