spec/spec_helper.rb in runit-man-2.3.18 vs spec/spec_helper.rb in runit-man-2.3.19
- old
+ new
@@ -1,10 +1,12 @@
-require File.join(File.dirname(__FILE__), '..', 'lib', 'runit-man', 'app')
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rack/test'
require 'rspec/core'
-class RunitMan
+require 'runit-man/app'
+
+class RunitMan::App
# set test environment
set :environment, :test
set :raise_errors, true
set :logging, false
end