Skip to content

Instantly share code, notes, and snippets.

@LBRapid
Created January 2, 2014 18:20
Show Gist options
  • Select an option

  • Save LBRapid/8223781 to your computer and use it in GitHub Desktop.

Select an option

Save LBRapid/8223781 to your computer and use it in GitHub Desktop.
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
require 'spree/testing_support/extension_rake'
RSpec::Core::RakeTask.new
task :default => [:spec]
desc 'Generates a dummy app for testing'
task :test_app do
ENV['LIB_NAME'] = 'spree_order_persist'
Rake::Task['extension:test_app'].invoke
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment