<commit_before>require 'spec_helper'

RSpec.describe DockerizeRails do
  it 'has a version number' do
    expect(DockerizeRails::VERSION).not_to be nil
  end

  it 'successfully runs help command' do
    expect(DockerizeRailsCLI.run('help', [])).to be 0
  end

  it 'successfully runs configure command' do
    expect(DockerizeRailsCLI.run('configure', [])).to be 0
  end

  it 'successfully runs dockerize command' do
    expect(DockerizeRailsCLI.run('dockerize', [])).to be 0
  end

  it 'successfully runs undockerize command' do
    expect(DockerizeRailsCLI.run('undockerize', [])).to be 0
  end

  it 'fails to run undefined command' do
    expect(DockerizeRailsCLI.run('undefined', [])).to be 1
  end
end<commit_msg>update tests<commit_after>require 'spec_helper'

RSpec.describe DockerizeRails do
  it 'has a version number' do
    expect(DockerizeRails::VERSION).not_to be nil
  end

  it 'successfully runs help command' do
    expect(DockerizeRailsCLI.run('help', args: [])).to be 0
  end

  it 'successfully runs configure command' do
    expect(DockerizeRailsCLI.run('configure', args: [])).to be 0
  end

  it 'successfully runs configure --skip-desc command' do
    expect(DockerizeRailsCLI.run('configure', args: ['--skip-desc'])).to be 0
  end

  it 'successfully runs dockerize command' do
    expect(DockerizeRailsCLI.run('dockerize', args: [])).to be 0
  end

  it 'successfully runs undockerize command' do
    expect(DockerizeRailsCLI.run('undockerize', args: [])).to be 0
  end

  it 'successfully runs undockerize --purge command' do
    expect(DockerizeRailsCLI.run('undockerize', args: ['--purge'])).to be 0
  end

  it 'fails to run undefined command' do
    expect(DockerizeRailsCLI.run('undefined', args: [])).to be 1
  end
end
{'fraction_non_alphanumeric': 0.11566951566951567, 'fraction_numerical': 0.006837606837606838, 'mean_word_length': 4.179941002949852, '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': '3369318', 'n_tokens_mistral': 626, 'n_tokens_neox': 593, 'n_words': 175}