Created
November 7, 2012 17:27
-
-
Save srih4ri/4033076 to your computer and use it in GitHub Desktop.
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
desc 'Run Devise tests for all ORMs.' | |
task :tests do | |
Dir[File.join(File.dirname(__FILE__), 'test', 'orm', '*.rb')].each do |file| | |
orm = File.basename(file).split(".").first | |
system "rake test DEVISE_ORM=#{orm}" | |
end | |
end | |
task :default => :tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment