Sha256: 35887ad3a0904589c32c27557d71f93deccb08a0db093603f612f188db6431ea

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

require 'spec_helper'

module SandthornDriverEventStore
	describe EventStore do
		before(:each) { prepare_for_test }
		context "interface structure" do
			let(:subject) { event_store }
      methods = [
        :save_events,
        :find,
        :all,
        :get_events,
        :driver
      ]

      methods.each do |method|
        it "responds to #{method}" do
          expect(subject).to respond_to(method)
        end
      end

    end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sandthorn_driver_event_store-0.1.0 spec/driver_interface_spec.rb
sandthorn_driver_event_store-0.0.1 spec/driver_interface_spec.rb