Created
February 13, 2011 22:48
-
-
Save agileguy/825246 to your computer and use it in GitHub Desktop.
passing spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace mtSpec | |
| { | |
| public class PassingSpec | |
| { | |
| Given _context =()=> { _a = 1; }; | |
| When _something_happens =()=> { _b = 1; }; | |
| Then _specifications_are_met =()=> { _a.ShouldBe(_b);}; | |
| static int _a; | |
| static int _b; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment