Created
November 6, 2013 21:39
-
-
Save styliii/7344574 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
require 'zeus/rails' | |
class CustomPlan < Zeus::Rails | |
# def my_custom_command | |
# # see https://github.com/burke/zeus/blob/master/docs/ruby/modifying.md | |
# end | |
def spec(argv=ARGV) | |
# disable autorun in case the user left it in spec_helper.rb | |
RSpec::Core::Runner.disable_autorun! | |
exit RSpec::Core::Runner.run(argv) | |
end | |
end | |
Zeus.plan = CustomPlan.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment