diff options
Diffstat (limited to 'spec/unit/utility/PredicateSpecificationSpecs.cs')
| -rw-r--r-- | spec/unit/utility/PredicateSpecificationSpecs.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/spec/unit/utility/PredicateSpecificationSpecs.cs b/spec/unit/utility/PredicateSpecificationSpecs.cs index 2f2726e..94505b2 100644 --- a/spec/unit/utility/PredicateSpecificationSpecs.cs +++ b/spec/unit/utility/PredicateSpecificationSpecs.cs @@ -1,20 +1,20 @@ -using gorilla.utility;
-using Machine.Specifications;
-
-namespace specs.unit.utility
-{
- public class PredicateSpecificationSpecs
- {
- [Subject(typeof (PredicateSpecification<>))]
- public class when_checking_if_a_criteria_is_met_and_it_is
- {
- It should_return_true = () => new PredicateSpecification<int>(x => true).is_satisfied_by(1).should_be_true();
- }
-
- [Subject(typeof (PredicateSpecification<>))]
- public class when_checking_if_a_criteria_is_met_and_it_is_not
- {
- It should_return_true = () => new PredicateSpecification<int>(x => false).is_satisfied_by(1).should_be_false();
- }
- }
-}
\ No newline at end of file +using jive.utility; +using Machine.Specifications; + +namespace specs.unit.utility +{ + public class PredicateSpecificationSpecs + { + [Subject(typeof (PredicateSpecification<>))] + public class when_checking_if_a_criteria_is_met_and_it_is + { + It should_return_true = () => new PredicateSpecification<int>(x => true).is_satisfied_by(1).should_be_true(); + } + + [Subject(typeof (PredicateSpecification<>))] + public class when_checking_if_a_criteria_is_met_and_it_is_not + { + It should_return_true = () => new PredicateSpecification<int>(x => false).is_satisfied_by(1).should_be_false(); + } + } +} |
