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 providers to use expect syntax #217

Merged
merged 1 commit into from Jul 9, 2013

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Jul 8, 2013

The expect syntax is much better than the should syntax and ships with RSpec 2.14. It caused a few conflicts with the mocha stubbing, so I updated the docs to use rspec test doubles instead.

@kbarber-jenkins-bot
Copy link

Merged build triggered. (Status: PENDING, Details: null)

@kbarber-jenkins-bot
Copy link

Merged build started. (Status: PENDING, Details: http://box.bob.sh:8080/job/puppetlabs-firewall/315/)

The expect syntax is much better than the should syntax and ships with
RSpec 2.14. It caused a few conflicts with the mocha stubbing, so I
updated the docs to use rspec test doubles instead.
@kbarber-jenkins-bot
Copy link

Merged build triggered. (Status: PENDING, Details: null)

@kbarber-jenkins-bot
Copy link

Merged build finished. (Status: FAILURE, Details: http://box.bob.sh:8080/job/puppetlabs-firewall/315/)

@dcarley
Copy link
Contributor

dcarley commented Jul 9, 2013

LGTM, particularly because it fixes the builds errors since rspec 2.14 was released.

Do you know why puppetlabs_spec_helper favours mocha? Will this follow through as a recommendation to that and other puppetlabs modules that use it?

@kbarber
Copy link
Contributor

kbarber commented Jul 9, 2013

retest this please

@kbarber-jenkins-bot
Copy link

Merged build triggered. (Status: PENDING, Details: null)

@kbarber-jenkins-bot
Copy link

Merged build started. (Status: PENDING, Details: http://box.bob.sh:8080/job/puppetlabs-firewall/320/)

apenney added a commit that referenced this pull request Jul 9, 2013
Update providers to use expect syntax
@apenney apenney merged commit 3ed8b3c into puppetlabs:master Jul 9, 2013
@kbarber-jenkins-bot
Copy link

Merged build finished. (Status: SUCCESS, Details: http://box.bob.sh:8080/job/puppetlabs-firewall/320/)

@hunner hunner deleted the update_provider_specs branch July 9, 2013 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants