Permalink
Browse files

Moves the adapter test to being koala_adapter_test.

  • Loading branch information...
james2m committed Apr 7, 2011
1 parent 77ff874 commit f8adbc7a68fb5deb88def685720dd483927767f0
@@ -1,8 +1,7 @@
module AuthlogicFacebookShim
module Session
module Adapter
-
- Dir['lib/authlogic_facebook_shim/adapters/*.rb'].each do |adapter|
+ Dir[File.expand_path('../adapters/*.rb', File.dirname(__FILE__))].each do |adapter|
class_name = File.basename(adapter).rpartition(/_adapter\.rb$/).shift.camelize
if defined?(class_name)
require adapter
@@ -1,10 +1,10 @@
require File.expand_path( '../../test_helper.rb', File.dirname(__FILE__) )
-class AuthlogicFacebookShim::Session::AdapterTest < ActiveSupport::TestCase
+class AuthlogicFacebookShim::Adapters::KoalaAdapterTest < ActiveSupport::TestCase
setup :activate_authlogic
- context "Session::Adapter" do
+ context "Adapters::KoalaAdapter" do
setup do
@user_info = {
'session_key' => 'mocksessionkey',

0 comments on commit f8adbc7

Please sign in to comment.