Module: RubyEventStore::RSpec

Defined in:
lib/ruby_event_store/rspec.rb,
lib/ruby_event_store/rspec.rb,
lib/ruby_event_store/rspec/apply.rb,
lib/ruby_event_store/rspec/publish.rb,
lib/ruby_event_store/rspec/version.rb,
lib/ruby_event_store/rspec/be_event.rb,
lib/ruby_event_store/rspec/matchers.rb,
lib/ruby_event_store/rspec/fetch_events.rb,
lib/ruby_event_store/rspec/have_applied.rb,
lib/ruby_event_store/rspec/match_events.rb,
lib/ruby_event_store/rspec/have_published.rb,
lib/ruby_event_store/rspec/expected_collection.rb,
lib/ruby_event_store/rspec/fetch_unpublished_events.rb,
lib/ruby_event_store/rspec/have_subscribed_to_events.rb,
lib/ruby_event_store/rspec/crude_failure_message_formatter.rb,
lib/ruby_event_store/rspec/step_by_step_failure_message_formatter.rb

Defined Under Namespace

Modules: Matchers Classes: Apply, BeEvent, CrudeFailureMessageFormatter, ExpectedCollection, FetchEvents, FetchUnpublishedEvents, HaveApplied, HavePublished, HaveSubscribedToEvents, MatchEvents, Publish, StepByStepFailureMessageFormatter

Constant Summary collapse

NotSupported =
Class.new(StandardError)
VERSION =
"2.14.0"

Class Method Summary collapse

Class Method Details

.default_formatterObject



32
33
34
# File 'lib/ruby_event_store/rspec.rb', line 32

def self.default_formatter
  @@default_formatter ||= CrudeFailureMessageFormatter.new
end

.default_formatter=(new_formatter) ⇒ Object



28
29
30
# File 'lib/ruby_event_store/rspec.rb', line 28

def self.default_formatter=(new_formatter)
  @@default_formatter = new_formatter
end