* Fix for Pixiv changes
* Fix for artist/wiki pages for -names
This commit is contained in:
@@ -29,6 +29,12 @@ class ArtistsControllerTest < ActionController::TestCase
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
should "get the show page for a negated tag" do
|
||||
@artist.update_attribute(:name, "-aaa")
|
||||
get :show, {:id => @artist.id}
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
should "get the index page" do
|
||||
get :index
|
||||
assert_response :success
|
||||
|
||||
@@ -39,6 +39,12 @@ class WikiPagesControllerTest < ActionController::TestCase
|
||||
get :show, {:id => @wiki_page.id}
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
should "render for a negated tag" do
|
||||
@wiki_page.update_attribute(:title, "-aaa")
|
||||
get :show, {:id => @wiki_page.id}
|
||||
assert_response :success
|
||||
end
|
||||
end
|
||||
|
||||
context "create action" do
|
||||
|
||||
Reference in New Issue
Block a user