<commit_before>require 'spec_helper'
require 'torkify/status_change_event'

module Torkify
  describe StatusChangeEvent do

    context "with a pass_now_fail event" do
      before do
        @type = 'pass_now_fail'
        @file = 'file'
        @inner_event = PassOrFailEvent.new(*(1..7))
        @event = StatusChangeEvent.new(@test, @lines, @inner_event)
      end

      subject { @event }

      its(:type) { should == @test }
      its(:file) { should == @file }
      its(:event) { should == @inner_event }
    end
  end
end<commit_msg>Fix status change event spec using wrong variable<commit_after>require 'spec_helper'
require 'torkify/status_change_event'

module Torkify
  describe StatusChangeEvent do

    context "with a pass_now_fail event" do
      before do
        @type = 'pass_now_fail'
        @file = 'file'
        @inner_event = PassOrFailEvent.new(*(1..7))
        @event = StatusChangeEvent.new(@test, @file, @inner_event)
      end

      subject { @event }

      its(:type)  { should == @test }
      its(:file)  { should == @file }
      its(:event) { should == @inner_event }
    end
  end
end
{'fraction_non_alphanumeric': 0.11555555555555555, 'fraction_numerical': 0.0035555555555555557, 'mean_word_length': 2.7533333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6253187', 'n_tokens_mistral': 364, 'n_tokens_neox': 357, 'n_words': 90}