Sha256: 38830b6dea9064110acb6b3af9292389f1afe06ad677baa08d6546b89e5999ae
Contents?: true
Size: 413 Bytes
Versions: 3
Compression:
Stored size: 413 Bytes
Contents
Sham.define do category_name { |i| "Category #{i}" } product_name { |i| "Widget #{i}" } price(:unique => false) { ['5.00', '10.00', '20.00', '15.00' , '25.00', '7.50'].rand } end Product.blueprint do Name { Sham.product_name } Description "Test Widget" Price { Sham.price } Category { Category.make } end Category.blueprint do Name { Sham.category_name } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby_odata-0.0.6 | test/blueprints.rb |
ruby_odata-0.0.5 | test/blueprints.rb |
ruby_odata-0.0.4 | test/blueprints.rb |