Sha256: 993714268d0b783bccc994b47dc4b7b5b3bc9ec19139467806ac3ecb01060602

Contents?: true

Size: 516 Bytes

Versions: 11

Compression:

Stored size: 516 Bytes

Contents

require 'gooddata'

describe "Spin a project from template", :constraint => 'slow' do
  before(:all) do
    @client = ConnectionHelper.create_default_connection
  end

  after(:all) do
    @client.disconnect
  end

  it "should spin a project from a template that does not exist. It should throw an error" do
    expect{GoodData::Project.create(:title => "Test project", :template => "/some/nonexisting/template/uri", :auth_token => ConnectionHelper::GD_PROJECT_TOKEN, :client => @client)}.to raise_error
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gooddata-0.6.18 spec/integration/create_from_template_spec.rb
gooddata-0.6.17 spec/integration/create_from_template_spec.rb
gooddata-0.6.16 spec/integration/create_from_template_spec.rb
gooddata-0.6.15 spec/integration/create_from_template_spec.rb
gooddata-0.6.14 spec/integration/create_from_template_spec.rb
gooddata-0.6.13 spec/integration/create_from_template_spec.rb
gooddata-0.6.12 spec/integration/create_from_template_spec.rb
gooddata-0.6.11 spec/integration/create_from_template_spec.rb
gooddata-0.6.10 spec/integration/create_from_template_spec.rb
gooddata-0.6.9 spec/integration/create_from_template_spec.rb
gooddata-0.6.8 spec/integration/create_from_template_spec.rb