Sha256: b26e9d2f2619a8026917425e21ca9ee13afccbfad2a51110efa7a78b48e90cac

Contents?: true

Size: 636 Bytes

Versions: 1

Compression:

Stored size: 636 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'spec_helper'

describe KewegoParty::Client::App do

  before do
    @client = KewegoParty::Client.new(:token => 'd4c804fd0f42533351aca404313d26eb')
  end

  describe ".app_get_token" do
    use_vcr_cassette "app_get_token"

    it "should return an app_token" do
      app_token = @client.app_get_token()
      app_token.should_not be_nil
    end
  end

  describe ".app_check_token" do
    use_vcr_cassette "app_check_token"

    it "should return true" do
      @client.app_get_token # Get and save the app_token
      result = @client.app_check_token()
      result.should be_true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kewego_party-0.0.1 spec/kewego_party/client/app_spec.rb