Skip to content

foulkesjohn/Expecta-Dates

Repository files navigation

Expecta+Dates

Version Platform

Expecta matchers for NSDate

Usage

To run the example project; clone the repo, and run pod install from the Example directory first.

Matchers

Same date

NSDate *dateOne = [NSDate date];
NSDate *dateTwo = [NSDate date];
expect(dateOne).to.beSameDay(dateTwo);

Installation

Expecta+Dates is available through CocoaPods, to install it simply add the following line to your Podfile:

pod "Expecta+Dates"

Author

@jfoulkes, [email protected]

License

Expecta+Dates is available under the MIT license. See the LICENSE file for more info.