diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 19edcc9a..8ae0cff8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,6 +5,7 @@ require File.expand_path(File.dirname(__FILE__) + "/blueprints") require 'spec' require 'spec/rails' +include Authlogic::TestCase Spec::Runner.configure do |config| # If you're not using ActiveRecord you should remove these @@ -46,8 +47,12 @@ # # For more information take a look at Spec::Example::Configuration and Spec::Runner - # Reset Shams for Machinist. - config.before(:each) {Sham.reset} + config.before(:each) do + # Reset Shams for Machinist. + Sham.reset + # Activate Authlogic. + activate_authlogic + end end FastGettext.text_domain ||= SITE_TITLE