Sha256: abf58888ba310a178cad5d62b602f07b37293cd1d5951919c0450a9c889c5c84

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 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 = stub("Logger")
      @helper.logger(@logger)
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
right_api_helper-1.1.1 spec/provisioner_spec.rb
right_api_helper-1.1.0 spec/provisioner_spec.rb