Issue #2885 has been reported by Markus Roberts.
----------------------------------------
Bug #2885: Spec bug with be_any / be_all
http://projects.reductivelabs.com/issues/2885
Author: Markus Roberts
Status: Accepted
Priority: Low
Assigned to: Markus Roberts
Category: testing
Target version: 0.25.2
Affected version: 0.25.1
Keywords:
Branch:
There's a bug in rspec that causes tests such as:
[1,2,3].should be_all { |x| x < 0 }
to always pass. See
https://rspec.lighthouseapp.com/projects/5645/tickets/905-predicate-matchers-ignore-block-arguments
for the gory details.
We use this form once that I can find (after I removed the cases I was about to
add yesterday when I discovered they weren't working). Patch momentarily.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.