-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Prepare for RSpec 3.x #127
Prepare for RSpec 3.x #127
Conversation
petergoldstein
commented
Dec 28, 2013
- Changed to RSpec expect syntax.
- Replaced 'be_true' and 'be_false' matchers with 'be true' and 'be false'
Hi Peter! Thanks for the PR. Some issues:
Cheers! |
Hi @floere
|
@floere Ok. Give me a few minutes to rebase and get your latest changes, then I'll push updated code. |
Thank you very much! |
@floere Not sure how you're feeling about the |
@petergoldstein No worries. I extremely rarely explicitly test for true/false since return values of ? methods in Ruby only need to evaluate true or false, as they are not supposed to be used any other way (imho – I can't find a reference for it currently). But give me a day to get used to it, and also the hard to digest |
@floere I have to admit I'm not exactly nuts about the changed syntax, although the underlying motivation to keep Object clean makes sense. Anyway, sit on it for a day or two and let me know if you want to discuss any changes. Thanks. |
@petergoldstein Thanks for your understanding ;) |
Rebased for recent changes. Updated newly added specs to expect syntax. |
…ers with 'be true' and 'be false'.
@floere Let me know what you're thinking here. I've rebased to latest changes, so this is ready for merge. But if you're not planning to merge it in, I'd prefer to just close it at this point. |
Hi @petergoldstein, First of all, let me say that I am terribly sorry for not deciding earlier. That was careless and not very respectful of your time! All the best, |
Hey @floere, No worries. I look forward to getting that beer with you sometime. Best, Peter |
Great, and likewise! All the best :) |