spec/grape/app_spec.rb in grape-app-0.6.1 vs spec/grape/app_spec.rb in grape-app-0.6.2
- old
+ new
@@ -18,10 +18,10 @@
it 'should have an root' do
expect(subject.root).to be_instance_of(Pathname)
end
it 'should be an API instance' do
- expect(subject).to be < Grape::API
+ expect(subject).to be < Grape::API::Instance
end
it 'should init with default time zone' do
expect(Time.zone.name).to eq('UTC')
expect(Thread.new { Time.zone }.value.name).to eq('UTC')