require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' require 'spree/testing_support/extension_rake' require 'cucumber/rake/task' RSpec::Core::RakeTask.new task :default => [:spec] desc 'Generates a dummy app for testing' task :test_app do ENV['LIB_NAME'] = 'spree_terms_and_conditions' Rake::Task['extension:test_app'].invoke end Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "features --format pretty" end