Sha256: 554b8eaf32d8d7d6e88e7ccb4ef82ab9722fe248afc5dbd6eb7d688255dd51a8

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

describe Pumper::Configuration do
  let(:options) { Hash.new }

  subject { described_class.configure!(options) }

  context 'when raise error ProjectNotSet' do
    it { expect { subject }.to raise_error(Pumper::Configuration::ProjectNotSet) }
  end

  context 'when valid project' do
    let(:options) { { project: 'cashier' } }

    it { is_expected.to eq(options) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pumper-1.0.1 spec/lib/pumper/configuration_spec.rb
pumper-0.0.1 spec/lib/pumper/configuration_spec.rb