<commit_before>require 'spec_helper'

module Jellyfish
  module Fog
    module Azure
      describe InfrastructureProduct do
        let(:order_item) { double('order item', id: 1, answers: { vm_name: 'test_name', vm_user: 'admin', image: '0b11de9248dd4d87b18621318e037d37__RightImage-CentOS-6.2-x64-v5.8.8.1', location: 'East Asia', cloud_service_name: 'testjellyfish', certificate_file: 'azure-cert.cer', private_key_file: 'azure-cert.pem' }) }
        let(:retire_order_item) { double('order item', id: 1, payload_response: { vm_name: 'test_name', vm_user: 'admin', image: '0b11de9248dd4d87b18621318e037d37__RightImage-CentOS-6.2-x64-v5.8.8.1', location: 'East Asia', cloud_service_name: 'testjellyfish' }) }
        ENV['AZURE_SUB_ID'] = 'abcdefg'
        ENV['AZURE_PEM_PATH'] = 'azure-cert.pem'
        ENV['AZURE_API_URL'] = 'https://management.core.windows.net'
        ::Fog.mock!
        it 'returns an appropriate provisioner' do<commit_msg>update to infrastructure product spec<commit_after>require 'spec_helper'

module Jellyfish
  module Fog
    module Azure
      describe InfrastructureProduct do
        let(:order_item) { double('order item', id: 1, answers: { vm_name: 'test_name', vm_user: 'admin', image: 'abcd', location: 'East Asia', cloud_service_name: 'testjellyfish', certificate_file: 'azure-cert.cer', private_key_file: 'azure-cert.pem' }) }
        let(:retire_order_item) { double('order item', id: 1, payload_response: { vm_name: 'test_name', vm_user: 'admin', image: 'abcd', location: 'East Asia', cloud_service_name: 'testjellyfish' }) }
        ENV['AZURE_SUB_ID'] = 'abcdefg'
        ENV['AZURE_PEM_PATH'] = 'azure-cert.pem'
        ENV['AZURE_API_URL'] = 'https://management.core.windows.net'
        ::Fog.mock!
        it 'returns an appropriate provisioner' do
{'fraction_non_alphanumeric': 0.14238042269187987, 'fraction_numerical': 0.03670745272525028, 'mean_word_length': 4.5015290519877675, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '416553', 'n_tokens_mistral': 671, 'n_tokens_neox': 624, 'n_words': 127}