Skip to content

Commit

Permalink
Update 2014-08-11-snapshot-testing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseidhof committed May 27, 2015
1 parent fe432ee commit 9c15cd2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions 2014-08-11-snapshot-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ Let's not beat around the bush here: you should be using [CocoaPods][cocoapods].

The default behavior of Snapshots is to subclass `FBSnapshotTestCase` instead of `XCTestCase`, and to then use the macro `FBSnapshotVerifyView(viewOrLayer, "optional identifier")` to verify against an already recorded image. There is a boolean property on the subclass `recordMode` that, when set, will make the macro record a new screenshot rather than check the result against a reference image.

# Headers

@interface ORSnapshotTestCase : FBSnapshotTestCase
@end

Expand Down Expand Up @@ -87,8 +85,6 @@ I don't use vanilla XCTest. I uses [Specta and Expecta][specta], which provide a

In turn, my tests look like:

# Headers

SpecBegin(ORMusicViewController)

it (@"notations in black and white look correct", ^{
Expand Down

0 comments on commit 9c15cd2

Please sign in to comment.