require "test_helper"
-require "api_controller"
class ApiControllerTest < ActionController::TestCase
def setup
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