mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Changes needed to run in produciton
This commit is contained in:
@@ -12,16 +12,20 @@ require File.expand_path('../config/application', __FILE__)
|
||||
|
||||
Velocipede::Application.load_tasks
|
||||
|
||||
namespace :spec do
|
||||
desc 'Run all acceptance specs'
|
||||
RSpec::Core::RakeTask.new(:acceptance => 'db:test:prepare') do |t|
|
||||
t.pattern = '**/*.feature'
|
||||
unless Rails.env.production?
|
||||
|
||||
namespace :spec do
|
||||
desc 'Run all acceptance specs'
|
||||
RSpec::Core::RakeTask.new(:acceptance => 'db:test:prepare') do |t|
|
||||
t.pattern = '**/*.feature'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Rake.application.remove_task 'spec'
|
||||
Rake.application.remove_task 'spec'
|
||||
|
||||
desc 'Run all specs'
|
||||
RSpec::Core::RakeTask.new(:spec => 'db:test:prepare') do |t|
|
||||
t.pattern = '**/*{_spec.rb,.feature}'
|
||||
end
|
||||
|
||||
desc 'Run all specs'
|
||||
RSpec::Core::RakeTask.new(:spec => 'db:test:prepare') do |t|
|
||||
t.pattern = '**/*{_spec.rb,.feature}'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user