Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moves the adapter test to being koala_adapter_test.

  • Loading branch information...
commit f8adbc7a68fb5deb88def685720dd483927767f0 1 parent 77ff874
@james2m authored
View
3  lib/authlogic_facebook_shim/session/adapter.rb
@@ -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
View
4 test/units/session/adapter_test.rb → test/units/adapters/koala_adapter_test.rb
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.