spec/region_spec.rb in quicktravel_client-3.6.1 vs spec/region_spec.rb in quicktravel_client-3.7.0
- old
+ new
@@ -6,13 +6,13 @@
subject { QuickTravel::Region.all.first }
it 'should find a first instance of region from QuickTravel' do
VCR.use_cassette('region_show') do
expect(subject).to be_an_instance_of QuickTravel::Region
- expect(subject.id).to be_an_instance_of Fixnum
+ expect(subject.id).to be_a_kind_of Integer
expect(subject.name).to be_an_instance_of String
expect(subject.location_ids).to be_an_instance_of Array
- expect(subject.location_ids[0]).to be_an_instance_of Fixnum
+ expect(subject.location_ids[0]).to be_a_kind_of Integer
end
end
end
describe '#all' do