2024-02-25 12:15:55 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require "test_helper"
|
2018-05-05 14:07:49 -04:00
|
|
|
|
|
|
|
class PostApprovalsControllerTest < ActionDispatch::IntegrationTest
|
|
|
|
context "The post approvals controller" do
|
|
|
|
setup do
|
2022-11-25 15:06:54 -05:00
|
|
|
@approval = create(:post_approval)
|
2018-05-05 14:07:49 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
context "index action" do
|
|
|
|
should "render" do
|
|
|
|
get post_approvals_path
|
|
|
|
assert_response :success
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|