Sha256: 9bfe8d400b0c9f7587a8782e32d9683bc57798dbb0308b0a7ed7a5f6a6e9f8e4
Contents?: true
Size: 347 Bytes
Versions: 2
Compression:
Stored size: 347 Bytes
Contents
require 'spec_helper' RSpec.describe RecordCollection::Base do describe '#refine_relation' do it "does not blow up when array and not ActiveRecord::Relation is given" do expect{ described_class.new([]).refine_relation }.not_to raise_error described_class.new([]).refine_relation{ }.should be_a described_class end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
record_collection-0.10.4 | spec/base/refine_relation_spec.rb |
record_collection-0.10.3 | spec/base/refine_relation_spec.rb |