Skip to content
This repository was archived by the owner on Sep 4, 2018. It is now read-only.

Conversation

hpjaj
Copy link
Collaborator

@hpjaj hpjaj commented Oct 8, 2017

Description of changes

Tests are randomly failing when a message's text is changed. This PR removes the expectation of a precise message.

The tests still expect the new method to be called, and to return a value. It simply no longer strictly expects the new method to be called with a specific paragraph of text.

This allows for flexibility in changing the text of the message, while still testing that the methods are being called.

In addition to that, this PR:

  • adds .DS_Store to gitignore
  • updates the ruby version to be in keeping with the version in the gemfile

Issue Resolved

Fixes #84

hpjaj added 3 commits October 7, 2017 20:57
The tests still expect the `new` method to be called, and to return a value.

It simply no longer strictly expects the `new` method to be called with a specific paragraph of text.

This allows for flexibility in changing the text of the message, while still testing that the methods are being called.
@hpjaj hpjaj requested review from hollomancer and rickr October 8, 2017 15:55
@hpjaj hpjaj mentioned this pull request Oct 8, 2017
@hollomancer hollomancer merged commit 3ae7d04 into master Oct 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change tests to be less reliant on copy
2 participants