spec/spec_helper.rb in auxiliary_addons-0.5.6 vs spec/spec_helper.rb in auxiliary_addons-0.5.7
- old
+ new
@@ -1,23 +1,23 @@
-$:.unshift File.dirname(__FILE__)
-$:.unshift File.join(File.dirname(__FILE__), '../lib')
-
-ENV["RAILS_ENV"] = "test"
-require 'rubygems'
-require 'rspec'
-require 'action_controller'
-require 'auxiliary_addons'
-
-module Rails
- module VERSION
- MAJOR = 3
- end
-end unless defined? Rails
-
-# AuxiliaryAddons.root = './'
-RAILS_ROOT = './' unless defined?(RAILS_ROOT)
-RAILS_ENV = 'test' unless defined?(RAILS_ENV)
-
-RSpec.configure do |config|
- config.mock_with :rspec
-end
-
+$:.unshift File.dirname(__FILE__)
+$:.unshift File.join(File.dirname(__FILE__), '../lib')
+
+ENV["RAILS_ENV"] = "test"
+require 'rubygems'
+require 'rspec'
+require 'action_controller'
+require 'auxiliary_addons'
+
+module Rails
+ module VERSION
+ MAJOR = 3
+ end
+end unless defined? Rails
+
+# AuxiliaryAddons.root = './'
+RAILS_ROOT = './' unless defined?(RAILS_ROOT)
+RAILS_ENV = 'test' unless defined?(RAILS_ENV)
+
+RSpec.configure do |config|
+ config.mock_with :rspec
+end
+