Sha256: 4a5bbfa159cf6c7140a3c6a9e377146c16be00b3ed8e29a9e774bb7cf56e9d75

Contents?: true

Size: 440 Bytes

Versions: 6

Compression:

Stored size: 440 Bytes

Contents

require 'gooddata'

describe "Spin a project from template", :constraint => 'slow' do
  before(:all) do
    ConnectionHelper::create_default_connection
  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)}.to raise_error
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

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