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

Convert tests to Rspec 3 style using expect instead of should #13

Merged
merged 1 commit into from
Mar 4, 2016

Conversation

maetl
Copy link
Collaborator

@maetl maetl commented Mar 2, 2016

Bump Rspec dependency to 3.4 and convert all the existing tests to use the new style expectation API. Includes a few small tweaks to the way test files were being required, to match the current Rspec conventions.

Also remove the Gemfile.lock as this is a library rather than app](http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/)

Bump Rspec dependency to 3.4 and convert all the existing tests to use
the new style expectation API. Also tidy up some of the requires to
match the current Rspec convention for referencing `spec_helper.rb`.

Also remove the Gemfile.lock as this is a library not an app [1].

1.
http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
maetl added a commit that referenced this pull request Mar 4, 2016
Convert tests to Rspec 3 style using `expect` instead of `should`
@maetl maetl merged commit 76e3f62 into samwho:master Mar 4, 2016
@maetl maetl deleted the update-rspec branch March 4, 2016 13:07
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.

None yet

1 participant