Sha256: 41de20fb5244f4688b9fccf0bd507faf5a12d4ecd387e2f00566e0166678e842

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

namespace :spec do
  desc 'Run the acceptance specs in spec/acceptance'
  RSpec::Core::RakeTask.new(:acceptance => 'db:test:prepare') do |t|
    t.pattern = 'spec/acceptance/**/*_spec.rb'
  end
  
  task :statsetup do
    if File.exist?('spec/acceptance')
      require 'rails/code_statistics'
      ::STATS_DIRECTORIES << ['Acceptance specs', 'spec/acceptance'] 
      ::CodeStatistics::TEST_TYPES << 'Acceptance specs'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
steak-2.0.0 lib/tasks/steak_tasks.rake
steak-2.0.0.beta2 lib/tasks/steak_tasks.rake
steak-2.0.0.beta1 lib/tasks/steak_tasks.rake