Module: Test::Spec::Rails::Helpers

Defined in:
lib/test/spec/rails/expectations.rb

Class Method Summary collapse

Class Method Details

.inspect_records(records) ⇒ Object



3
4
5
# File 'lib/test/spec/rails/expectations.rb', line 3

def self.inspect_records(records)
  "[#{records.map { |record| "#{record.class}[#{record.id}]" }.join(', ')}]"
end