Sha256: dc575a9c4bc5175821fdc9438df19f4e762cda3087b678bd9ccacf8406881651

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 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/tempalte/uri", :auth_token => ENV['GD_PROJECT_TOKEN'])}.to raise_error
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gooddata-0.6.0 spec/integration/create_from_template_spec.rb