Skip to content

Instantly share code, notes, and snippets.

@igaiga
Created October 8, 2010 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igaiga/616433 to your computer and use it in GitHub Desktop.
Save igaiga/616433 to your computer and use it in GitHub Desktop.
rake spec:plugins
# Rails3 で vendor/plugins/ 以下のspecファイルを実行するrake task.
# lib/tasks/ 以下にこのファイルを置けば rake -T に追加される。
namespace :spec do
desc 'Run the code examples in plugins'
task :plugins do
system 'bundle exec rspec vendor/plugins/'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment