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