     }
 
     func verifyMedicationData(data: NSData) {
-        if let json = NSString(data: data, encoding:NSUTF8StringEncoding) {
+        if let json = NSString(data: data, encoding: NSUTF8StringEncoding) {
             XCTAssertNotNil(json)
             let expectedString = "{\n    \"medications\": [{\n        \"id\": 99,\n        \"profile_id\": 260,\n        \"name\": \"Prozac\",\n        \"details\": null,\n        \"frequency\": \"daily\",\n        \"dosage\": \"200 mg\",\n        \"notify\": false,\n        \"medication_times\": [ {\n            \"time\": \"1980-06-20T09:30:00.000Z\"\n        }]\n    }]\n}"
             XCTAssertEqual(expectedString, json)

            XCTFail("Failed to find data in bundle.")
        }
    }

    func verifySignUpData(data: NSData) {
        if let json = NSString(data: data, encoding:NSUTF8StringEncoding) {
            XCTAssertNotNil(json)
            let expectedString = "{\n    \"access_token\": \"asdf\"\n}"
            XCTAssertEqual(expectedString, json)

        runMedicationTest()
    }

    func testIsRunningAutomationTestsFalse() {
        XCTAssertFalse(HTTPStubber.isRunningAutomationTests())
    }
