generators/templates/application/spec/spec_helper.rb in rhoconnect-4.0.0.beta.24 vs generators/templates/application/spec/spec_helper.rb in rhoconnect-4.0.0

- old
+ new

@@ -1,10 +1,10 @@ require 'rubygems' # Set environment to test -ENV['RHO_ENV'] = 'test' +ENV['RACK_ENV'] = 'test' ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__),'..')) -Bundler.require(:default, ENV['RHO_ENV'].to_sym) +Bundler.require(:default, ENV['RACK_ENV'].to_sym) # Try to load vendor-ed rhoconnect, otherwise load the gem begin require 'vendor/rhoconnect/lib/rhoconnect' rescue LoadError \ No newline at end of file