Class: RubyEventStore::RSpec::BeEvent::FailureMessage::ExpectedLine

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_event_store/rspec/be_event.rb

Instance Method Summary collapse

Constructor Details

#initialize(expected_klass, expected_metadata, expected_data) ⇒ ExpectedLine

Returns a new instance of ExpectedLine.


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

def initialize(expected_klass, , expected_data)
  @expected_klass = expected_klass
  @expected_metadata = 
  @expected_data = expected_data
end

Instance Method Details

#to_sObject


37
38
39
# File 'lib/ruby_event_store/rspec/be_event.rb', line 37

def to_s
  ["\nexpected: ", @expected_klass, with, , data]
end