raise_error(Error) is deprecated
This commit is contained in:
parent
e409f1b623
commit
cf66b6bb6d
|
@ -10,7 +10,7 @@ describe Travis::Api::App::AccessToken do
|
||||||
it 'allows to skip expires_in' do
|
it 'allows to skip expires_in' do
|
||||||
expect {
|
expect {
|
||||||
described_class.new(app_id: 1, user_id: 2, expires_in: nil)
|
described_class.new(app_id: 1, user_id: 2, expires_in: nil)
|
||||||
}.to_not raise_error(ArgumentError)
|
}.to_not raise_error
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'does not reuse token if expires_in is set' do
|
it 'does not reuse token if expires_in is set' do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user