Skip to content

Commit

Permalink
Make some functional tests use the string syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
beauby committed Sep 11, 2015
1 parent cce11f7 commit f4f74ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/action_controller/json_api/linked_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def render_resource_with_nested_include

def render_resource_with_nested_has_many_include
setup_post
render json: @post, include: [author: [:roles]], adapter: :json_api
render json: @post, include: 'author.roles', adapter: :json_api
end

def render_resource_with_missing_nested_has_many_include
Expand All @@ -75,7 +75,7 @@ def render_collection_without_include

def render_collection_with_include
setup_post
render json: [@post], include: [:author, :comments], adapter: :json_api
render json: [@post], include: 'author, comments', adapter: :json_api
end
end

Expand Down

0 comments on commit f4f74ac

Please sign in to comment.