<commit_before>require 'spec_helper'
describe 'ghost::blog', type: :define do
  let :facts do
    {
      osfamily: 'Debian',
      operatingsystem: 'Ubuntu',
      operatingsystemmajrelease: '14.04'
    }
  end

  let(:title) { 'my_blog' }

  describe 'defaults' do
    it do
      is_expected.to contain_exec('curl_ghost_my_blog')
    end
    it do
      is_expected.to contain_exec('unzip_ghost_my_blog')
    end
  end
end<commit_msg>Test ghost::blog on all supported OS<commit_after>require 'spec_helper'

describe 'ghost::blog' do
  on_supported_os.each do |os, os_facts|
    context "on #{os}" do
      let(:facts) { os_facts }
      let(:title) { 'my_blog' }

      it { is_expected.to contain_exec('curl_ghost_my_blog') }
      it { is_expected.to contain_exec('unzip_ghost_my_blog') }
    end
  end
end
{'fraction_non_alphanumeric': 0.11344019728729964, 'fraction_numerical': 0.004932182490752158, 'mean_word_length': 3.3655913978494625, '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': '5492956', 'n_tokens_mistral': 310, 'n_tokens_neox': 292, 'n_words': 64}