Skip to content

Instantly share code, notes, and snippets.

@ukstudio
Created October 6, 2010 16:39
Show Gist options
  • Select an option

  • Save ukstudio/613641 to your computer and use it in GitHub Desktop.

Select an option

Save ukstudio/613641 to your computer and use it in GitHub Desktop.
namespace :spec do
task :statsetup do
require 'rails/code_statistics'
::STATS_DIRECTORIES << %w(Steak\ features spec/acceptance) if File.exist?('spec/acceptance')
::CodeStatistics::TEST_TYPES << "Steak features" if File.exist?('spec/acceptance')
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment