Skip to content

Commit

Permalink
Activate Authlogic so we can test it. Specs not all passing, though. …
Browse files Browse the repository at this point in the history
…[#19]
  • Loading branch information
marnen committed Oct 13, 2009
1 parent d15ac9b commit 30bcc69
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 30bcc69

Please sign in to comment.