Sha256: 515541352bc5e3286616598c1f7f8e9ae68e33f21246a001ee908a6fa0df3dd3

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

describe Skala::Adapter::Operation do
  let(:adapter) do
    {
      some: "adapter"
    }
  end

  context "if initialized with a adapter" do
    let(:operation) do
      described_class.new(adapter)
    end

    describe "#adapter" do
      it "returns the adapter the operation was initialized with" do
        expect(operation.adapter).to eq(adapter) 
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
skala-0.3.0 spec/skala/adapter/operation_spec.rb
skala-0.2.0 spec/skala/adapter/operation_spec.rb