spec/region_spec.rb in quicktravel_client-1.1.2 vs spec/region_spec.rb in quicktravel_client-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
require 'quick_travel/region'
describe QuickTravel::Region do
describe '#first' do
- subject { QuickTravel::Region.first }
+ 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