Skip to content
aspiers edited this page Mar 16, 2013 · 2 revisions

Spinach

(copied from #114)

require 'zeus/rails'

class Popeye < Zeus::Rails
  def spinach_environment
    require 'spinach'
  end

  def spinach
    spinach_main = Spinach::Cli.new(ARGV.dup)
    spinach_main.init_reporter
    exit spinach_main.run
  end
end

Zeus.plan = Popeye.new