Merge pull request #20 from dpiddy/master

Change requires so export/upstart_spec can run on its own
This commit is contained in:
David Dollar
2011-05-13 09:02:01 -07:00
5 changed files with 5 additions and 3 deletions
+1
View File
@@ -4,5 +4,6 @@ module Foreman::Export
class Exception < ::Exception; end
end
require "foreman/export/base"
require "foreman/export/inittab"
require "foreman/export/upstart"
+1 -1
View File
@@ -1,4 +1,4 @@
require "foreman/export/base"
require "foreman/export"
class Foreman::Export::Inittab < Foreman::Export::Base
+1 -1
View File
@@ -1,5 +1,5 @@
require "erb"
require "foreman/export/base"
require "foreman/export"
class Foreman::Export::Upstart < Foreman::Export::Base
+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