Created
October 8, 2010 06:28
-
-
Save igaiga/616433 to your computer and use it in GitHub Desktop.
rake spec:plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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