Skip to content

Instantly share code, notes, and snippets.

@styliii
Created November 6, 2013 21:39
Show Gist options
  • Save styliii/7344574 to your computer and use it in GitHub Desktop.
Save styliii/7344574 to your computer and use it in GitHub Desktop.
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