Sha256: 551296b35b3d0861f23ac4b38d4dbd3ad636bc2026b1780a300dd5b0a0dfd073
Contents?: true
Size: 524 Bytes
Versions: 3
Compression:
Stored size: 524 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 } AuditFields { AuditFields.make } end Category.blueprint do Name { Sham.category_name } end AuditFields.blueprint do CreatedBy "Cucumber" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby_odata-0.0.10 | test/blueprints.rb |
ruby_odata-0.0.9 | test/blueprints.rb |
ruby_odata-0.0.8 | test/blueprints.rb |