mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01:00
fix source indents of test/functional/auth_sources_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19870 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -188,11 +188,14 @@ class AuthSourcesControllerTest < Redmine::ControllerTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_autocomplete_for_new_user
|
def test_autocomplete_for_new_user
|
||||||
AuthSource.expects(:search).with('foo').returns([
|
AuthSource.expects(:search).with('foo').returns(
|
||||||
{:login => 'foo1', :firstname => 'John', :lastname => 'Smith', :mail => 'foo1@example.net', :auth_source_id => 1},
|
[
|
||||||
{:login => 'Smith', :firstname => 'John', :lastname => 'Doe', :mail => 'foo2@example.net', :auth_source_id => 1}
|
{:login => 'foo1', :firstname => 'John', :lastname => 'Smith',
|
||||||
])
|
:mail => 'foo1@example.net', :auth_source_id => 1},
|
||||||
|
{:login => 'Smith', :firstname => 'John', :lastname => 'Doe',
|
||||||
|
:mail => 'foo2@example.net', :auth_source_id => 1}
|
||||||
|
]
|
||||||
|
)
|
||||||
get :autocomplete_for_new_user, :params => {
|
get :autocomplete_for_new_user, :params => {
|
||||||
:term => 'foo'
|
:term => 'foo'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user