spec/unit/veritas/attribute/options_spec.rb in veritas-0.0.4 vs spec/unit/veritas/attribute/options_spec.rb in veritas-0.0.5
- old
+ new
@@ -8,11 +8,11 @@
let(:described_class) { Attribute::Integer }
context 'when no options are provided' do
let(:object) { described_class.new(:id) }
- it { should be_kind_of(Hash) }
+ it { should be_instance_of(Hash) }
it { should be_empty }
it { should be_frozen }
end
@@ -28,10 +28,10 @@
let(:options) { {} }
let(:object) { described_class.new(:id, options) }
it { should_not equal(options) }
- it { should be_kind_of(Hash) }
+ it { should be_instance_of(Hash) }
it { should == options }
it { should be_frozen }
end