Browse files

[zeus] Configured for Refinery's specific needs.

  • Loading branch information...
1 parent 9db8d02 commit 3f8e7e60570f14f5e7901d8e1d11183bee8109ef @parndt parndt committed Aug 27, 2012
Showing with 5 additions and 7 deletions.
  1. +5 −7 .zeus.rb
View
12 .zeus.rb
@@ -4,7 +4,7 @@
rescue LoadError
end
-ROOT_PATH = File.expand_path(Dir.pwd)
+ROOT_PATH = File.expand_path('../spec/dummy', __FILE__)
Zeus::Server.define! do
stage :boot do
@@ -115,13 +115,11 @@
end
end
- if Dir.exist?(ROOT_PATH + "/spec")
- stage :spec_helper do
- action { require 'spec_helper' }
+ stage :spec_helper do
+ action { require File.join(ROOT_PATH, '..', 'spec_helper') }
- command :rspec do
- exit RSpec::Core::Runner.run(ARGV)
- end
+ command :rspec do
+ exit RSpec::Core::Runner.run(ARGV)
end
end

0 comments on commit 3f8e7e6

Please sign in to comment.