Sha256: 5db37bd20e2b0575d1709dab4d177d31961dd03c710a224b0c9b3f73559a93cc
Contents?: true
Size: 547 Bytes
Versions: 5
Compression:
Stored size: 547 Bytes
Contents
admin = User.create( email: 'admin@tangapp.herokuapp.com', password: 'password', role: 'admin' ) customer = User.create( email: 'customer@tangapp.herokuapp.com', password: 'password' ) gold = Tang::Plan.create( stripe_id: 'gold', name: 'Gold', amount: 2000, interval: 'month', highlight: true, order: 1 ) diamond = Tang::Plan.create( stripe_id: 'diamond', name: 'Diamond', amount: 5000, interval: 'month', order: 2 ) coupon = Tang::Coupon.create( stripe_id: 'half-off', duration: 'once', percent_off: 50 )
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
tang-0.2.1 | spec/tang_app/db/seeds.rb |
tang-0.2.0 | spec/tang_app/db/seeds.rb |
tang-0.1.0 | spec/tang_app/db/seeds.rb |
tang-0.0.9 | spec/tang_app/db/seeds.rb |
tang-0.0.8 | spec/tang_app/db/seeds.rb |