Skip to content

Conversation

@Empact
Copy link
Contributor

@Empact Empact commented Jan 11, 2016

  • Use assert_nil where appropriate - assert_nil is equivalent to assert_equal with nil as the expectation, so the failure message should be the same. http://apidock.com/ruby/Test/Unit/Assertions/assert_nil
  • Lead with the expected value in collection_serializer_test.rb, etc
    so that expected/actual in test failure messages are not reversed

* Use assert_nil where appropriate
* Lead with the expected value in collection_serializer_test.rb, etc
 so that expected/actual in test failure messages are not reversed
bf4 added a commit that referenced this pull request Jan 12, 2016
@bf4 bf4 merged commit 34e5faa into rails-api:master Jan 12, 2016
@bf4
Copy link
Member

bf4 commented Jan 12, 2016

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants