<commit_before>//
//  FluxStandardActionSpec.swift
//  ReduxKit
//
//  Created by <NAME> on 06/11/15.
//  Copyright © 2015 Kare Media. All rights reserved.
//

import Quick
import Nimble
@testable import ReduxKit

class FluxStandardActionSpec: QuickSpec {

    override func spec() {

        describe("FluxStandardActionSpec") {

            // swiftlint:disable line_length
            it("should succesfully retrieve payload from FluxStandardAction types") {

                // Arrange
                let incrementAction = IncrementAction() as FluxStandardAction
                let pushAction = PushAction(payload: nil) as FluxStandardAction
                let updateTextFieldAction = UpdateTextFieldAction(payload: nil) as FluxStandardAction

                // Act
                let incrementPayload = incrementAction.payload
                let pushPayload = pushAction.payload
                let updateTextFieldPayload = updateTextFieldAction.payload

                // Assert
                expect(incrementPayload is Int).to(beTruthy())
                expect(pushPayload is PushAction.Payload).to(beTruthy())
                expect(updateTextFieldPayload is UpdateTextFieldAction.Payload).to(beTruthy())
            }
        }
    }
}<commit_msg>[Tests] Fix naming of FSA spec<commit_after>//
//  FluxStandardActionSpec.swift
//  ReduxKit
//
//  Created by <NAME> on 06/11/15.
//  Copyright © 2015 Kare Media. All rights reserved.
//

import Quick
import Nimble
@testable import ReduxKit

class FluxStandardActionSpec: QuickSpec {

    override func spec() {

        describe("FluxStandardAction") {

            // swiftlint:disable line_length
            it("should succesfully retrieve payload from FluxStandardAction types") {

                // Arrange
                let incrementAction = IncrementAction() as FluxStandardAction
                let pushAction = PushAction(payload: nil) as FluxStandardAction
                let updateTextFieldAction = UpdateTextFieldAction(payload: nil) as FluxStandardAction

                // Act
                let incrementPayload = incrementAction.payload
                let pushPayload = pushAction.payload
                let updateTextFieldPayload = updateTextFieldAction.payload

                // Assert
                expect(incrementPayload is Int).to(beTruthy())
                expect(pushPayload is PushAction.Payload).to(beTruthy())
                expect(updateTextFieldPayload is UpdateTextFieldAction.Payload).to(beTruthy())
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.07544204322200393, 'fraction_numerical': 0.007858546168958742, 'mean_word_length': 2.1588089330024816, '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': '3301325', 'n_tokens_mistral': 665, 'n_tokens_neox': 601, 'n_words': 159}