Sha256: a7b11934a904a83330c17a55ccae34ecbcf2205ca8ca041b13fa81187980bdeb

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

require 'spec_helper'

describe Vk::Client do
  describe 'class' do
    subject { Vk::Client }

    it { is_expected.to respond_to(:auth_key) }
    it { is_expected.to respond_to(:authenticated?) }
    it { expect(Vk::Client.auth_key(VK_VIEWER_ID)).to eq(VK_AUTH_KEY) }
    it { expect(Vk::Client.authenticated?(VK_VIEWER_ID, VK_AUTH_KEY)).to be true }
  end

  describe 'instance' do
    let(:client) { Vk::Client.new }
    subject { client }

    it { is_expected.to respond_to(:request) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.6.5.53 spec/vk/client_spec.rb