Sha256: e3d84153ccb82d3e976bf715b95d76b7417c27106724b1f77f29cc09d66845f7

Contents?: true

Size: 741 Bytes

Versions: 62

Compression:

Stored size: 741 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

Bundler::GemHelper.install_tasks

# Load the dummy app's rake tasks
APP_RAKEFILE = File.expand_path('../test/dummy/Rakefile', __FILE__)
load 'rails/tasks/engine.rake'

desc 'Run the JavaScript tests'
ENV['TEASPOON_RAILS_ENV'] = File.expand_path('../test/dummy/config/environment', __FILE__)
task teaspoon: 'app:teaspoon'

desc 'Start a server at http://localhost:3000/teaspoon for JavaScript tests'
task :teaspoon_server do
  Dir.chdir('test/dummy')
  teaspoon_env = File.expand_path('../test/teaspoon_env.rb', __FILE__)
  system "RAILS_ENV=test TEASPOON_ENV=#{teaspoon_env} rails s"
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.27 Rakefile
workarea-storefront-3.5.4 Rakefile
workarea-storefront-3.4.26 Rakefile
workarea-storefront-3.5.3 Rakefile
workarea-storefront-3.4.25 Rakefile
workarea-storefront-3.5.2 Rakefile
workarea-storefront-3.4.24 Rakefile
workarea-storefront-3.5.1 Rakefile
workarea-storefront-3.4.23 Rakefile
workarea-storefront-3.4.22 Rakefile
workarea-storefront-3.5.0 Rakefile
workarea-storefront-3.4.21 Rakefile
workarea-storefront-3.5.0.beta.1 Rakefile
workarea-storefront-3.4.20 Rakefile
workarea-storefront-3.4.19 Rakefile
workarea-storefront-3.4.18 Rakefile
workarea-storefront-3.4.17 Rakefile
workarea-storefront-3.4.16 Rakefile
workarea-storefront-3.4.15 Rakefile
workarea-storefront-3.4.14 Rakefile