17 Dec '16, 5am

@geeksam It’s called out as an alias of `match` here: https://t.co/RRUPDT0yhC

Custom matchers can easily participate in composed matcher expressions like these. Include Composable in your custom matcher to make it support being composed (matchers defined using the DSL have this included automatically). Within your matcher's matches? method (or the match block, if using the DSL), use values_match?(expected, actual) rather than expected == actual . Under the covers, values_match? is able to match arbitrary nested data structures containing a mix of both matchers and non-matcher objects. It uses === and == to perform the matching, considering the values to match if either returns true . The Composable mixin also provides some helper methods for surfacing the matcher descriptions within your matcher's description or failure messages.

Full article: http://rspec.info/documentation/3.5/rspec-expectations/RS...

Tweets

Drake's Dad Is Cutting Ties With "So-Called Fri...

hypebeast.com 15 Dec '16, 4pm

In case you haven’t heard, Dennis Graham (a.k.a. Drake’s dad), released a new single called “Kinda Crazy ,” and he’s upset...

It's been named the Birdie and Beers Shootout, and if you're not excited about it you're no golf fan:

It's been named the Birdie and Beers Shootout, ...

golf.com 16 Dec '16, 8pm

Ok, not really. But if you're a golf fan, you do have something big to look forward to during next year's offseason. In wh...

As a local business, you have to own your own back yard

As a local business, you have to own your own b...

searchengineland.com 05 Dec '16, 2pm

As you know from my past articles, I typically write about real-world encounters with clients or other SEOs — and this one...

Individuelle Steckerverbinder-Module ab Lager!

Individuelle Steckerverbinder-Module ab Lager!

elektroniknet.de 11 Dec '16, 8pm

ODU Steckverbindungssysteme : Individuelle Steckerverbinder-Module ab Lager! 17.03.2014 Corinna Puhlmann © ODU Durch die f...

Ian Woosnam endorses Ryder Cup captaincy of Tho...

golfdigest.com 12 Dec '16, 2pm

Stories of interest you might have missed… The high road often is a road less traveled, but Ian Woosnam took it in endorsi...