<commit_before>RSPEC_DECORATOR_TEST = (<<-TEST).gsub(/^ {10}/, '') unless defined?(RSPEC_DECORATOR_TEST)
require 'spec_helper'

describe "!NAME!Decorator" do
  it 'can construct a new instance' do
    object = "Sample"
    @!DNAME! = !NAME!Decorator.new(object, self)
    expect(@!DNAME!).to eql object<commit_msg>Add context to spec example<commit_after>RSPEC_DECORATOR_TEST = (<<-TEST).gsub(/^ {10}/, '') unless defined?(RSPEC_DECORATOR_TEST)
require 'spec_helper'

describe "!NAME!Decorator" do
  it 'can construct a new instance' do
    object = "Sample"
    @!DNAME! = !NAME!Decorator.new(object, context: self)
    expect(@!DNAME!).to eql object
{'fraction_non_alphanumeric': 0.15514592933947774, 'fraction_numerical': 0.006144393241167435, 'mean_word_length': 5.269230769230769, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7646476', 'n_tokens_mistral': 243, 'n_tokens_neox': 234, 'n_words': 54}