access_token_spec.rb revision 9dd500e3acdc343dbefcaf88b7663db25be0ef46
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksarequire 'spec_helper'
9dd500e3acdc343dbefcaf88b7663db25be0ef46Eugen Kuksa let(:repository) { create :repository, access_token: access_token }
9dd500e3acdc343dbefcaf88b7663db25be0ef46Eugen Kuksa it 'should not be expired when the expiration date is in the future' do
9dd500e3acdc343dbefcaf88b7663db25be0ef46Eugen Kuksa it 'should be expired when the expiration date is in the past' do
9dd500e3acdc343dbefcaf88b7663db25be0ef46Eugen Kuksa expect(access_token.token).to eq(old_access_token.token)