diff --git a/test/controllers/api_test.rb b/test/controllers/api_test.rb index 994a7ebd6..ad1fd8d1b 100644 --- a/test/controllers/api_test.rb +++ b/test/controllers/api_test.rb @@ -50,7 +50,7 @@ class ApiTest < ActionDispatch::IntegrationTest test "get tags" do tags = users(:david).account.tags.all.alphabetically - + get tags_path(format: :json), env: @davids_bearer_token assert_equal tags.count, @response.parsed_body.count assert_equal tags.pluck(:title), @response.parsed_body.pluck("title")