eBooru/test/functional/post_approvals_controller_test.rb
Earlopain fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00

19 lines
378 B
Ruby

# frozen_string_literal: true
require "test_helper"
class PostApprovalsControllerTest < ActionDispatch::IntegrationTest
context "The post approvals controller" do
setup do
@approval = create(:post_approval)
end
context "index action" do
should "render" do
get post_approvals_path
assert_response :success
end
end
end
end