<commit_before>require File.dirname(__FILE__) + '/spec_helper'

describe "common files generator", :shared => true do

  it "should generate the features/env.rb file" do
    @generator.should create('/tmp/features/env.rb')
  end

  it "should generate the bin/cucumber file" do
    @generator.should create('/tmp/bin/cucumber')
  end

  it "should generate the features/steps/common_result_steps.rb file" do
    @generator.should create('/tmp/features/steps/common_result_steps.rb')
  end
  
  it "should generate the lib/tasks/cucumber.rake" do
    @generator.should create('/tmp/features/steps/common_result_steps.rb')
  end
  
  it "should render templates successfully" do
    lambda { @generator.render! }.should_not raise_error
  end
  <commit_msg>Added spec for fixing error 'Autotest style autotest/cucumber_merb_rspec doesn't seem to exist. Aborting.' when running autospec.<commit_after>require File.dirname(__FILE__) + '/spec_helper'

describe "common files generator", :shared => true do

  it "should generate the features/env.rb file" do
    @generator.should create('/tmp/features/env.rb')
  end

  it "should generate the bin/cucumber file" do
    @generator.should create('/tmp/bin/cucumber')
  end

  it "should generate the autotest/cucumber_merb_rspec.rb file" do
    @generator.should create('/tmp/autotest/cucumber_merb_rspec.rb')
  end

  it "should generate the features/steps/common_result_steps.rb file" do
    @generator.should create('/tmp/features/steps/common_result_steps.rb')
  end
  
  it "should generate the lib/tasks/cucumber.rake" do
    @generator.should create('/tmp/features/steps/common_result_steps.rb')
  end
  
  it "should render templates successfully" do
    lambda { @generator.render! }.should_not raise_error
  end
  
{'fraction_non_alphanumeric': 0.10469722693831353, 'fraction_numerical': 0.0, 'mean_word_length': 4.1395348837209305, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6305543', 'n_tokens_mistral': 556, 'n_tokens_neox': 544, 'n_words': 145}