Sha256: 92934996929d54b1731acdabcf5d5e21162f6dc244a3eef24ce55761c6e0725e

Contents?: true

Size: 520 Bytes

Versions: 1

Compression:

Stored size: 520 Bytes

Contents

require 'spec_helper'

describe RightApiHelper::Provisioner do

  it "initializes" do
    VCR.use_cassette('right_api_session') do
      session = RightApiHelper::Session.new
      session.should_receive(:setup_client_logging)
      @right_api_client = session.create_client_from_file("~/.right_api_client/login.yml")
    end
    VCR.use_cassette('right_api_general') do
      @helper = RightApiHelper::Provisioner.new(@right_api_client)
      @logger = double("Logger")
      @helper.logger(@logger)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
right_api_helper-1.1.2 spec/provisioner_spec.rb