Skip to content

Instantly share code, notes, and snippets.

@lucasrenan
Created February 16, 2012 19:02
Show Gist options
  • Save lucasrenan/1847046 to your computer and use it in GitHub Desktop.
Save lucasrenan/1847046 to your computer and use it in GitHub Desktop.
running presenters specs
unless Rails.env.production?
require "rspec/core/rake_task"
namespace :spec do
desc "spec presenters"
Rspec::Core::RakeTask.new(:presenters) do |t|
t.pattern = "./spec/presenters/**/*_spec.rb"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment