Sha256: e3b5f0e6dab268c7de61431e917421a693f7d527f3a3f8ceaa817ef91d2b0506

Contents?: true

Size: 870 Bytes

Versions: 23

Compression:

Stored size: 870 Bytes

Contents

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

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

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

HashDealer.define(:inactive_test_association_resource, :parent => :test_association_resource) do
  is_active(false)
end

HashDealer.define(:inactive_birthday_test_association_resource, :parent => :inactive_test_association_resource) do
  bday{Date.today}
end

HashDealer.define(:has_one_object) do
  size("large")
  color("blue")
end

HashDealer.define(:has_many_object) do
  name("name")
end

HashDealer.define(:belongs_to_object_response) do
  zip "11201"
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
api_resource-0.6.25 spec/support/requests/association_requests.rb
api_resource-0.6.24 spec/support/requests/association_requests.rb
api_resource-0.6.23 spec/support/requests/association_requests.rb
api_resource-0.6.22 spec/support/requests/association_requests.rb
api_resource-0.6.21 spec/support/requests/association_requests.rb
api_resource-0.6.20 spec/support/requests/association_requests.rb
api_resource-0.6.19 spec/support/requests/association_requests.rb
api_resource-0.6.18 spec/support/requests/association_requests.rb
api_resource-0.6.17 spec/support/requests/association_requests.rb
api_resource-0.6.16 spec/support/requests/association_requests.rb
api_resource-0.6.15 spec/support/requests/association_requests.rb
api_resource-0.6.14 spec/support/requests/association_requests.rb
api_resource-0.6.13 spec/support/requests/association_requests.rb
api_resource-0.6.12 spec/support/requests/association_requests.rb
api_resource-0.6.11 spec/support/requests/association_requests.rb
api_resource-0.6.9 spec/support/requests/association_requests.rb
api_resource-0.6.10 spec/support/requests/association_requests.rb
api_resource-0.6.8 spec/support/requests/association_requests.rb
api_resource-0.6.7 spec/support/requests/association_requests.rb
api_resource-0.6.6 spec/support/requests/association_requests.rb