Sha256: 54d410defc3117ca3cfb5938c80c1fef869852a7ba348a512c26425292c5a56e

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

namespace :tb_commerce do
  # Call from a project using this gem with rake tb_commerce:add_sample_data
  desc "Calls sample_data.rb to create products, transactions, etc for testing"
  task :add_sample_data => :environment do
    TbCommerce::SampleData::add_sample_data
  end

  # Call from a project using this gem with rake tb_commerce:rm_sample_data
  desc "Removes sample_data from DB"
  task :rm_sample_data => :environment do

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_commerce-0.0.4 lib/tasks/tb_commerce_tasks.rake
tb_commerce-0.0.3 lib/tasks/tb_commerce_tasks.rake
tb_commerce-0.0.2 lib/tasks/tb_commerce_tasks.rake