Sha256: d944a7f219d46bbb71541dd4b5014c09f5706e04a031ddc08a5f466409ce5f8b

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

require 'spec_helper'

describe ShopSensor do
  it { expect(ShopSensor::VERSION).to eq "0.0.1" }

  describe :configure do
    subject { ShopSensor.configure &block }
    let(:block) { proc { |config| @config = config } }
    it { expect{ subject }.to change{ @config }.from nil }
  end

  describe :configuration do
    subject { ShopSensor.configuration }
    it { expect(subject).to be_a ShopSensor::Configuration }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shop_sensor-0.0.2 spec/shop_sensor_spec.rb