Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[zeus] Configured for Refinery's specific needs.

  • Loading branch information...
commit 3f8e7e60570f14f5e7901d8e1d11183bee8109ef 1 parent 9db8d02
Philip Arndt parndt authored

Showing 1 changed file with 5 additions and 7 deletions. Show diff stats Hide diff stats

  1. +5 7 .zeus.rb
12 .zeus.rb
@@ -4,7 +4,7 @@
4 4 rescue LoadError
5 5 end
6 6
7   -ROOT_PATH = File.expand_path(Dir.pwd)
  7 +ROOT_PATH = File.expand_path('../spec/dummy', __FILE__)
8 8
9 9 Zeus::Server.define! do
10 10 stage :boot do
@@ -115,13 +115,11 @@
115 115 end
116 116 end
117 117
118   - if Dir.exist?(ROOT_PATH + "/spec")
119   - stage :spec_helper do
120   - action { require 'spec_helper' }
  118 + stage :spec_helper do
  119 + action { require File.join(ROOT_PATH, '..', 'spec_helper') }
121 120
122   - command :rspec do
123   - exit RSpec::Core::Runner.run(ARGV)
124   - end
  121 + command :rspec do
  122 + exit RSpec::Core::Runner.run(ARGV)
125 123 end
126 124 end
127 125

0 comments on commit 3f8e7e6

Please sign in to comment.
Something went wrong with that request. Please try again.