spec/spec_helper.rb in rails_breadcrumbs-0.5.4 vs spec/spec_helper.rb in rails_breadcrumbs-0.5.5

- 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 'rails_breadcrumbs' - -module Rails - module VERSION - MAJOR = 3 - end -end unless defined? Rails - -# RailsBreadcrumbs.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 'rails_breadcrumbs' + +module Rails + module VERSION + MAJOR = 3 + end +end unless defined? Rails + +# RailsBreadcrumbs.root = './' +RAILS_ROOT = './' unless defined?(RAILS_ROOT) +RAILS_ENV = 'test' unless defined?(RAILS_ENV) + +RSpec.configure do |config| + config.mock_with :rspec +end +