Sha256: 7dd5372162cd51b6ee6d2adacf6bca86e954e17ee62d7682aaed5835a31a6610

Contents?: true

Size: 404 Bytes

Versions: 22

Compression:

Stored size: 404 Bytes

Contents

HashDealer.define(:test_association_resource) do
  id{Kernel.rand(99999)}
  name{Faker::Name.first_name}
  age{Kernel.rand(99999)}
  active(false)
end

HashDealer.define(:active_test_association_resource, :parent => :test_association_resource) do
  active(true)
end

HashDealer.define(:active_birthday_test_association_resource, :parent => :active_test_association_resource) do
  birthday{Date.today}
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
api_resource-0.3.8 spec/support/requests/association_requests.rb
api_resource-0.3.7 spec/support/requests/association_requests.rb
api_resource-0.3.6 spec/support/requests/association_requests.rb
api_resource-0.3.5 spec/support/requests/association_requests.rb
api_resource-0.3.4 spec/support/requests/association_requests.rb
api_resource-0.3.3 spec/support/requests/association_requests.rb
api_resource-0.3.2 spec/support/requests/association_requests.rb
api_resource-0.3.1 spec/support/requests/association_requests.rb
api_resource-0.3.0 spec/support/requests/association_requests.rb
api_resource-0.2.11 spec/support/requests/association_requests.rb
api_resource-0.2.10 spec/support/requests/association_requests.rb
api_resource-0.2.9 spec/support/requests/association_requests.rb
api_resource-0.2.8 spec/support/requests/association_requests.rb
api_resource-0.2.7 spec/support/requests/association_requests.rb
api_resource-0.2.6 spec/support/requests/association_requests.rb
api_resource-0.2.5 spec/support/requests/association_requests.rb
api_resource-0.2.4 spec/support/requests/association_requests.rb
api_resource-0.2.3 spec/support/requests/association_requests.rb
api_resource-0.2.2 spec/support/requests/association_requests.rb
api_resource-0.2.1 spec/support/requests/association_requests.rb