Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to RSpec 3 conventions and syntax #71

Merged
merged 1 commit into from May 27, 2015
Merged

Conversation

yez
Copy link
Contributor

@yez yez commented May 26, 2015

  • Replaced the deprecated should matchers with expect(...).to
  • Used subject and let variables instead of instance variables
  • Removed "should" wording from example descriptions
  • Replaced some redundant expectations inside examples
  • Utilized match_array, include, and match more

Addresses https://github.com/ariejan/imdb/issues/39

* Replaced the deprecated `should` matchers with `expect(...).to`
* Used `subject` and `let` variables instead of instance variables
* Removed `"should"` wording from example descriptions
* Replaced some redundant expectations inside examples
* Utilized `match_array`, `include`, and `match` more
@ariejan
Copy link
Owner

ariejan commented May 27, 2015

Awesome! Thanks.

ariejan added a commit that referenced this pull request May 27, 2015
Update to RSpec 3 conventions and syntax
@ariejan ariejan merged commit 8ee2642 into ariejan:master May 27, 2015
@yez
Copy link
Contributor Author

yez commented May 27, 2015

Glad to contribute!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants