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.5.27 Rakefile
workarea-storefront-3.5.26 Rakefile
workarea-storefront-3.4.45 Rakefile
workarea-storefront-3.5.25 Rakefile
workarea-storefront-3.5.23 Rakefile
workarea-storefront-3.4.44 Rakefile
workarea-storefront-3.5.22 Rakefile
workarea-storefront-3.4.43 Rakefile
workarea-storefront-3.5.21 Rakefile
workarea-storefront-3.4.42 Rakefile
workarea-storefront-3.5.20 Rakefile
workarea-storefront-3.4.41 Rakefile
workarea-storefront-3.5.19 Rakefile
workarea-storefront-3.4.40 Rakefile
workarea-storefront-3.5.18 Rakefile
workarea-storefront-3.4.39 Rakefile
workarea-storefront-3.5.17 Rakefile
workarea-storefront-3.4.38 Rakefile
workarea-storefront-3.5.16 Rakefile
workarea-storefront-3.4.37 Rakefile