Sha256: 6cdd03a57d0a916d3220a945e9a48eda17cfd90f45e31aa540695a624502b22d
Contents?: true
Size: 782 Bytes
Versions: 4
Compression:
Stored size: 782 Bytes
Contents
require 'spec_helper' describe Bcx::Resources::Authorization, :vcr do let(:launchpad) { Bcx::Launchpad::OAuth.new(client_id: '748cc9c949af86f2e3fb35564f7e209b1d2c27d2', client_secret: '7fba79ec3bf1eb9e278098031414e5a3a41ec842', access_token: 'BAhbByIBsHsiZXhwaXJlc19hdCI6IjIwMTMtMDktMTNUMTI6NDk6MzBaIiwidXNlcl9pZHMiOlsxNzE3NDMwNV0sImNsaWVudF9pZCI6Ijc0OGNjOWM5NDlhZjg2ZjJlM2ZiMzU1NjRmN2UyMDliMWQyYzI3ZDIiLCJ2ZXJzaW9uIjoxLCJhcGlfZGVhZGJvbHQiOiJmZmE1OTgzMzQ3YTY2MWExM2Y1YWE3YTM0ODVhYzk4YiJ9dToJVGltZQ2sYRzA05PlxQ==--e995b8e9cb3cc37b7f4f90d967bb23d889145384') } describe "GET /authorization" do let(:authorization) { launchpad.authorization! } it "first account should have the correct id" do expect(authorization.accounts.first.id).to eq 2274488 end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bcx-1.1.0 | spec/bcx/authorization_spec.rb |
bcx-1.0.0 | spec/bcx/authorization_spec.rb |
bcx-0.4.0 | spec/bcx/authorization_spec.rb |
bcx-0.3.0 | spec/bcx/authorization_spec.rb |