Skip to content

Add a test for recursive includes.#943

Merged
lgebhardt merged 1 commit intomasterfrom
test_recursive_include
Dec 23, 2016
Merged

Add a test for recursive includes.#943
lgebhardt merged 1 commit intomasterfrom
test_recursive_include

Conversation

@lgebhardt
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread test/controllers/controller_test.rb Outdated
assert_equal 'authors', json_response['data']['type']
assert_equal 'Fred Reader', json_response['data']['attributes']['name']

# The test is hardcoded with the include order. This should be changed at some point since either thing could come first and still be valid
Copy link
Copy Markdown
Contributor

@olleolleolle olleolleolle Dec 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this comment is a little long for a single line?

But: the explanation is golden and needs to stay.

@lgebhardt lgebhardt force-pushed the test_recursive_include branch from dbfb3ea to 57032fa Compare December 23, 2016 13:26
@lgebhardt lgebhardt merged commit de7711d into master Dec 23, 2016
@lgebhardt lgebhardt deleted the test_recursive_include branch December 23, 2016 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants