spec/lib/models/expirable_spec.rb in doorkeeper-mongodb-4.2.0 vs spec/lib/models/expirable_spec.rb in doorkeeper-mongodb-5.0.0

- old
+ new

@@ -1,8 +1,6 @@ require 'spec_helper' -require 'active_support/time' -require 'doorkeeper/models/concerns/expirable' describe 'Expirable' do subject do Class.new do include Doorkeeper::Models::Expirable @@ -43,8 +41,7 @@ it 'should return nil when expires_in is nil' do allow(subject).to receive(:expires_in).and_return(nil) expect(subject.expires_in_seconds).to be_nil end - end end