Created
October 8, 2009 23:54
-
-
Save bigtiger/205545 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
namespace :thinking_sphinx do | |
namespace :test do | |
def usage | |
"thinking_sphinx:test:prepare" | |
end | |
desc "Indexes test environment to allow integration testing" | |
task :prepare do | |
ENV['RAILS_ENV'] = 'test' | |
Rake::Task["thinking_sphinx:index"].invoke | |
end | |
end | |
end | |
namespace :ts do | |
namespace :test do | |
desc "Indexes test environment to allow integration testing" | |
task :prepare => "thinking_sphinx:test:prepare" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment