Sha256: 82f33277593081b7a02320f764d88c2094e5c165e46817ce82843cedb7644a74

Contents?: true

Size: 363 Bytes

Versions: 4

Compression:

Stored size: 363 Bytes

Contents

require 'spec_helper'

describe Vhx::Middleware::OAuth2, :vcr do
  xit 'access_token refresh' do
    original_access_token = Vhx.client.oauth_token.access_token
    Vhx::Client.any_instance.should_receive(:refresh_access_token!).and_call_original
    Vhx::Customer.find(1)
    expect(Vhx.client.oauth_token.access_token).to_not eq original_access_token
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vhx-ruby-0.0.12 spec/middleware/oauth2_spec.rb
vhx-ruby-0.0.10 spec/middleware/oauth2_spec.rb
vhx-ruby-0.0.9 spec/middleware/oauth2_spec.rb
vhx-ruby-0.0.8 spec/middleware/oauth2_spec.rb