post approvals: add index page + search options (fix #3579).
This commit is contained in:
16
test/functional/post_approvals_controller_test.rb
Normal file
16
test/functional/post_approvals_controller_test.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
require 'test_helper'
|
||||
|
||||
class PostApprovalsControllerTest < ActionDispatch::IntegrationTest
|
||||
context "The post approvals controller" do
|
||||
setup do
|
||||
@approval = FactoryBot.create(:post_approval)
|
||||
end
|
||||
|
||||
context "index action" do
|
||||
should "render" do
|
||||
get post_approvals_path
|
||||
assert_response :success
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user