<commit_before>require 'spec_helper'

describe 'vm::ansible' do

  let(:ansible_version) { vm_user_gui_command('ansible --version').stdout }
  let(:testinfra_version) { vm_user_gui_command('testinfra --version').stdout }
  let(:molecule_version) { vm_user_gui_command('molecule --version').stdout }

  it 'installs ansible 2.3.0.0' do
    expect(ansible_version).to contain '2.3.0.0'
  end
  it 'installs testinfra 1.6.2' do
    expect(testinfra_version).to contain '1.6.2'
  end
  it 'installs molecule 2.0.0.0rc4' do
    expect(molecule_version).to contain '2.0.0.0rc4'
  end
end
<commit_msg>test testinfra and pytest-spec version via pytest's version output<commit_after>require 'spec_helper'

describe 'vm::ansible' do

  let(:ansible_version) { vm_user_gui_command('ansible --version').stdout }
  let(:pytest_version) { vm_user_gui_command('pytest --version').stdout }
  let(:molecule_version) { vm_user_gui_command('molecule --version').stdout }

  it 'installs ansible 2.3.0.0' do
    expect(ansible_version).to contain '2.3.0.0'
  end
  it 'installs testinfra 1.6.2' do
    expect(pytest_version).to contain 'testinfra-1.6.2'
  end
  it 'installs pytest-spec 1.1.0' do
    expect(pytest_version).to contain 'pytest-spec-1.1.0'
  end
  it 'installs molecule 2.0.0.0rc4' do
    expect(molecule_version).to contain '2.0.0.0rc4'
  end
end

{'fraction_non_alphanumeric': 0.1347728965003723, 'fraction_numerical': 0.040208488458674606, 'mean_word_length': 4.291338582677166, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, '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': '6715514', 'n_tokens_mistral': 532, 'n_tokens_neox': 510, 'n_words': 101}