Skip to content

Commit

Permalink
updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejkim committed Sep 13, 2011
1 parent 68415c4 commit 35407cf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,15 @@ Expecta works best with [Cedar BDD Framework](http://pivotal.github.com/cedar/).
>
>`expect(x).toBeKindOf([Foo class]);` passes if x is an instance of a class Foo or if x is an instance of any class that inherits from the class Foo.
>
>`expect([Foo class]).toBeSubclassOf([Bar class]);` passes if the class Foo is a subclass of the class Bar or if it is identical to the class Bar.
>`expect([Foo class]).toBeSubclassOf([Bar class]);` passes if the class Foo is a subclass of the class Bar or if it is identical to the class Bar. Use toBeKindOf() for class clusters.
>
>`expect(x).toBeLessThan(y);`
>
>`expect(x).toBeLessThanOrEqualTo(y);`
>
>`expect(x).toBeGreaterThan(y);`
>
>`expect(x).toBeGreaterThanOrEqualTo(y);`
**More matchers are coming soon!**

Expand Down

0 comments on commit 35407cf

Please sign in to comment.