spec/faker/russian/okpo_spec.rb in faker-russian-0.0.3 vs spec/faker/russian/okpo_spec.rb in faker-russian-0.0.4

- old
+ new

@@ -23,9 +23,9 @@ array2 = 10000.times.map{ |n| Faker::Russian.okpo(sequence_number: n) } expect(array1).to eq(array2) end it 'permit just a few options' do - expect{ Faker::Russian.okpo(shit: 'shit') }.to raise_error + expect{ Faker::Russian.okpo(shit: 'shit') }.to raise_error(ArgumentError) end end end