<commit_before>//
//  ElloSpecHelpers.swift
//  Ello
//
//  Created by <NAME> on 11/21/14.
//  Copyright (c) 2014 Ello. All rights reserved.
//

@testable
import Ello
import Quick
import OHHTTPStubs
import Nimble_Snapshots

// Add in custom configuration
class ElloConfiguration: QuickConfiguration {
    override class func configure(config: Configuration) {
        config.beforeSuite {
            setNimbleTolerance(0.125)
            ElloLinkedStore.databaseName = "ello_test.sqlite"
        }
        config.beforeEach {
            let keychain = FakeKeychain()
            keychain.username = "email"<commit_msg>curious what specs will fail if tolerance is 0<commit_after>//
//  ElloSpecHelpers.swift
//  Ello
//
//  Created by <NAME> on 11/21/14.
//  Copyright (c) 2014 Ello. All rights reserved.
//

@testable
import Ello
import Quick
import OHHTTPStubs
import Nimble_Snapshots

// Add in custom configuration
class ElloConfiguration: QuickConfiguration {
    override class func configure(config: Configuration) {
        config.beforeSuite {
            setNimbleTolerance(0)
            ElloLinkedStore.databaseName = "ello_test.sqlite"
        }
        config.beforeEach {
            let keychain = FakeKeychain()
            keychain.username = "email"
{'fraction_non_alphanumeric': 0.08747044917257683, 'fraction_numerical': 0.02048857368006304, 'mean_word_length': 2.6494252873563218, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2867395', 'n_tokens_mistral': 396, 'n_tokens_neox': 371, 'n_words': 99}