tests: add missing controller tests.
This commit is contained in:
11
test/functional/pixiv_ugoira_frame_data_controller_test.rb
Normal file
11
test/functional/pixiv_ugoira_frame_data_controller_test.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
require "test_helper"
|
||||
|
||||
class PixivUgoiraFrameDataControllerTest < ActionDispatch::IntegrationTest
|
||||
context "index action" do
|
||||
should "work" do
|
||||
create(:pixiv_ugoira_frame_data)
|
||||
get pixiv_ugoira_frame_data_path, as: :json
|
||||
assert_response :success
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user