Sha256: 849b2ab09a539259a8ce6170890db994017a31d52928406dc3d14de7f1a9cbe7

Contents?: true

Size: 592 Bytes

Versions: 25

Compression:

Stored size: 592 Bytes

Contents

namespace :acts_as_assets do
  namespace :ci do
    ENV['COVERAGE'] = 'on'
    ENV['JCI'] = 'on'
    ENV['RAILS_ENV'] ||= 'test'

    task :migrate do
      Rake::Task["db:migrate"].invoke
    end

    task :rspec do
      Rake::Task["ci:setup:rspec"].invoke
      Rake::Task["spec"].invoke
    end

    task :cucumber do
      ENV["CUCUMBER_OPTS"] = "--format junit --out features/reports --format html --out features/reports/cucumber.ht"
      Rake::Task["app:cucumber"].invoke
    end
  end
end

task "acts_as_assets:ci" => ["app:acts_as_assets:ci:migrate", "app:acts_as_assets:ci:rspec"]

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
acts_as_assets-0.4.1 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.4.0.3 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.4.0.2 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.4.0.1 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.4.0 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.8 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.7 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.6 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.5 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.4 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.3 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.2 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.1 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.3.0 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.2.6 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.2.5 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.2.4 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.2.3 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.2.2 lib/tasks/acts_as_assets_tasks.rake
acts_as_assets-0.2.1 lib/tasks/acts_as_assets_tasks.rake