Skip to content

Commit

Permalink
Stub out authenticate_with_http_basic for TestCase::Controller adapter.
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Mar 28, 2009
1 parent 281ec5c commit 314af4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
== 2.0.5

* Stub out authenticate_with_http_basic for TestCase::Controller adapter.

== 2.0.4 released 2009-3-28

* Added validates_uniqueness_of_login_field_options and validates_uniqueness_of_email_field_options configuration options
Expand Down
2 changes: 1 addition & 1 deletion lib/authlogic/controller_adapters/rails_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module ControllerAdapters
# provides. Similar to how ActiveRecord has an adapter for MySQL, PostgreSQL, SQLite, etc.
class RailsAdapter < AbstractAdapter
def authenticate_with_http_basic(&block)
controller.authenticate_with_http_basic(&block)
yield [nil, nil]
end

def cookies
Expand Down

0 comments on commit 314af4d

Please sign in to comment.