Sha256: fbd8075b19fe1f6d8e24f41fd5b68f0db764d6beebeefde04b7d1d5bdaa45648

Contents?: true

Size: 678 Bytes

Versions: 7

Compression:

Stored size: 678 Bytes

Contents

require "spec_helper"

describe Momm::Storage do
  let(:storage) { Momm::Storage.new }

  context "NotImplementedError" do
    it "should apply to #client" do
      expect{
        storage.client
      }.to raise_error
    end

    it "should apply to #set_rate" do
      expect{
        storage.set_rate
      }.to raise_error
    end

    it "should apply to #get_rate" do
      expect{
        storage.get_rate
      }.to raise_error
    end

    it "should apply to #exchange_rate" do
      expect{
        storage.client
      }.to raise_error
    end

    it "should apply to #exchange_rate" do
      expect{
        storage.client
      }.to raise_error
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
momm-0.0.7 spec/momm/storage_spec.rb
momm-0.0.6 spec/momm/storage_spec.rb
momm-0.0.5 spec/momm/storage_spec.rb
momm-0.0.4 spec/momm/storage_spec.rb
momm-0.0.3 spec/momm/storage_spec.rb
momm-0.0.2 spec/momm/storage_spec.rb
momm-0.0.1 spec/momm/storage_spec.rb