Class: RSpec::ActiveRecord::RecordMatcher

Inherits:
Matcher
  • Object
show all
Defined in:
lib/rspec/active_record/record_matcher.rb

Overview

A matcher

Direct Known Subclasses

ChangeRecord, DestroyRecord

Instance Method Summary collapse

Methods inherited from Matcher

#supports_block_expectations?

Constructor Details

#initialize(record) ⇒ RecordMatcher

Returns a new instance of RecordMatcher.



7
8
9
10
# File 'lib/rspec/active_record/record_matcher.rb', line 7

def initialize(record)
  super()
  @record = record
end