Sha256: eb6d0cdcef1b83b078d8c501e0771b14df6018be3e92ef5144bccad774fbf4aa

Contents?: true

Size: 374 Bytes

Versions: 6

Compression:

Stored size: 374 Bytes

Contents

# encoding: UTF-8

require 'gooddata'
require 'pry'

describe GoodData::Connection, :constraint => 'slow' do

  it "should log in and disconnect" do
    ConnectionHelper::create_default_connection
    GoodData.get("/gdc/md")

    conn = GoodData.connection
    GoodData.disconnect
    expect{GoodData.connection}.to raise_error
    conn.connected?.should == false
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gooddata-0.6.7 spec/logging_in_logging_out_spec.rb
gooddata-0.6.6 spec/logging_in_logging_out_spec.rb
gooddata-0.6.5 spec/logging_in_logging_out_spec.rb
gooddata-0.6.4 spec/logging_in_logging_out_spec.rb
gooddata-0.6.3 spec/logging_in_logging_out_spec.rb
gooddata-0.6.2 spec/logging_in_logging_out_spec.rb