Add toBeGreaterThan matcher #1

merged 2 commits into from Sep 25, 2012


None yet
1 participant

ghost commented Sep 24, 2012

This new matcher allows you to assert that, say, the width of a div never drops below a certain number of pixels.

Cactus.expect("#fatty_div", "width").toBeGreaterThan("200px");

James Somers & Steve Ellis added some commits Sep 24, 2012

James Somers & Steve Ellis Add toBeGreaterThan matcher 701c957
James Somers & Steve Ellis Add more flexible message for new matcher(s) 77fc097

@winston winston added a commit that referenced this pull request Sep 25, 2012

@winston winston Merge pull request #1 from pivotal-toadstool/master
Add toBeGreaterThan matcher

@winston winston merged commit 7d11c3d into winston:master Sep 25, 2012


winston commented Sep 25, 2012

Thanks for the pull request guys! Merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment