Sha256: e42fffdb17c4ec03d586778bd931d0465446e3d8fc1a0c5720fed1b6fb61d678

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

FactoryGirl.define do
  factory :my_dataset, class: PublishMyData::Dataset do
    initialize_with { new(uri, graph_uri) }
    title 'My Dataset'
    description 'A test dataset'

    ignore do
      uri { PublishMyData::Dataset.uri_from_slug("my-dataset")  }
      graph_uri { PublishMyData::Dataset.metadata_graph_uri("my-dataset") }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
publish_my_data-0.0.3 spec/factories/dataset_factories.rb
publish_my_data-0.0.2 spec/factories/dataset_factories.rb
publish_my_data-0.0.1 spec/factories/dataset_factories.rb