Change requires so export/upstart_spec can be run on its own.

This commit is contained in:
Dan Peterson
2011-05-13 11:44:53 -03:00
parent f34f161899
commit 124e27ed22
5 changed files with 5 additions and 3 deletions
+1
View File
@@ -1,4 +1,5 @@
require "spec_helper"
require "foreman/engine"
require "foreman/export/upstart"
describe Foreman::Export::Upstart do
+1 -1
View File
@@ -3,7 +3,7 @@ require "rspec"
require "fakefs/safe"
require "fakefs/spec_helpers"
$:.unshift "lib"
$:.unshift File.expand_path("../../lib", __FILE__)
def mock_error(subject, message)
mock_exit do