Sha256: c87de801369d84429ff090babe4f911387ffbcf1a3df43eafc8ef0bc5188557b
Contents?: true
Size: 632 Bytes
Versions: 7
Compression:
Stored size: 632 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Eucalyptus" do describe ".configure" do let(:access_token) { "123abc" } let(:default_account_id) { "456ghb" } before do Eucalyptus.configure do |config| config.access_token = access_token config.default_account_id = default_account_id end end it "returns a graph object which has the configured access_token" do graph = Eucalyptus.graph expect(graph.access_token).to eql access_token end it 'returns a default account object' do #Eucalyptus.default_account end end end
Version data entries
7 entries across 7 versions & 1 rubygems