Standardise on basic_authorization without the parentheses
This commit is contained in:
parent
107e9515b3
commit
6fe5d42100
12 changed files with 122 additions and 122 deletions
|
@ -406,7 +406,7 @@ class ApiControllerTest < ActionController::TestCase
|
|||
end
|
||||
|
||||
def test_permissions_basic_auth
|
||||
basic_authorization(create(:user).email, "test")
|
||||
basic_authorization create(:user).email, "test"
|
||||
get :permissions
|
||||
assert_response :success
|
||||
assert_select "osm > permissions", :count => 1 do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue