Skip to content

RSpec 3 compatibility#25

Open
sgerrand wants to merge 3 commits into
acrosa:masterfrom
sgerrand:rspec3
Open

RSpec 3 compatibility#25
sgerrand wants to merge 3 commits into
acrosa:masterfrom
sgerrand:rspec3

Conversation

@sgerrand

@sgerrand sgerrand commented Jun 9, 2015

Copy link
Copy Markdown

💁 These changes are designed to update the test suite to be compatible with RSpec v3.

  • changed mock to double (rspec-mocks compatibility)
  • changed stub to allow (rspec-expectations compatibility)
  • removed include Kafka from spec/spec_helper.rb
  • changed test hierarchy to match classes under test

I've also added a Travis CI configuration file to enable testing the library across a matrix of MRI Ruby versions.

sgerrand added 3 commits June 9, 2015 11:14
Updated the existing RSpec tests to run under RSpec 3. Changed use of `mock` and
`stub` to use `double` and `allow` methods from rspec-mocks and
rspec-expectations, respectively.
Updated the deprecated 's' format shorthand for documentation output.
Move specs to match class hierarchy and removed `include Kafka` to enforce
test isolation.
@sgerrand

sgerrand commented Jun 9, 2015

Copy link
Copy Markdown
Author

👋 @acrosa: Would you please review these changes.

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.

1 participant