tests: fix pixiv tests to use https://i.pixiv.net.

This commit is contained in:
evazion
2017-04-15 23:14:41 -05:00
parent 6d693799a0
commit b68cb174f5
3 changed files with 14 additions and 14 deletions

View File

@@ -54,8 +54,8 @@ class TagSubscriptionsControllerTest < ActionController::TestCase
end
context "create action" do
should "create a new tag subscription" do
assert_difference("TagSubscription.count", 1) do
should "not create a new tag subscription" do
assert_no_difference("TagSubscription.count") do
post :create, {:tag_subscription => {:name => "aaa", :tag_query => "bbb"}}, {:user_id => @user.id}
end
end