spec/sequence_spec.rb in sqlserver-sequence-0.1.1 vs spec/sequence_spec.rb in sqlserver-sequence-0.2.0
- old
+ new
@@ -89,10 +89,10 @@
describe 'saving' do
before do
allow_any_instance_of(Supplier).to receive(:next_sequence_value).
with('sequence').
- and_return('1234567')
+ and_return(1234567)
end
subject(:supplier) { Supplier.create }
context 'without options' do