spec/unit/veritas/relation/header/class_methods/new_spec.rb in veritas-0.0.4 vs spec/unit/veritas/relation/header/class_methods/new_spec.rb in veritas-0.0.5
- old
+ new
@@ -8,18 +8,18 @@
let(:object) { described_class }
context 'with no arguments' do
subject { object.new }
- it { should be_kind_of(object) }
+ it { should be_instance_of(object) }
it { should be_empty }
end
context 'with an argument that responds to #to_ary and do not contain duplicates' do
let(:argument) { [ [ :id ], [ :name ] ] }
- it { should be_kind_of(object) }
+ it { should be_instance_of(object) }
it { should == argument }
end
context 'with an argument that responds to #to_ary and contain duplicates' do