test/integration/routes/routes_test.rb in jsonapi-resources-0.1.1 vs test/integration/routes/routes_test.rb in jsonapi-resources-0.2.0
- old
+ new
@@ -25,14 +25,9 @@
def test_routing_posts_links_author_destroy
assert_routing({path: '/posts/1/links/author', method: :delete},
{controller: 'posts', action: 'destroy_association', post_id: '1', association: 'author'})
end
- def test_routing_posts_links_author_create
- assert_routing({path: '/posts/1/links/author', method: :post},
- {controller: 'posts', action: 'create_association', post_id: '1', association: 'author'})
- end
-
def test_routing_posts_links_author_update
assert_routing({path: '/posts/1/links/author', method: :put},
{controller: 'posts', action: 'update_association', post_id: '1', association: 'author'})
end