Class: RSpec::ActiveRecord::RecordMatcher
- Defined in:
- lib/rspec/active_record/record_matcher.rb
Overview
A matcher
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(record) ⇒ RecordMatcher
constructor
A new instance of RecordMatcher.
Methods inherited from Matcher
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 |