tests: add sources controller tests.

This commit is contained in:
evazion
2017-02-05 16:31:37 -06:00
parent 142dc05d0c
commit 423dfc13b8

View File

@@ -0,0 +1,12 @@
require 'test_helper'
class SourcesControllerTest < ActionController::TestCase
context "The sources controller" do
context "show action" do
should "work" do
get :show, { url: "http://www.pixiv.net/member_illust.php?mode=medium&illust_id=14901720", format: "json" }
assert_response :success
end
end
end
end