require 'spec_helper'

describe 'aws::ec2_hints' do
  let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }

  it 'creates the ohai hint' do
    expect(chef_run).to create_ohai_hint('ec2').at_compile_time
  end

  it 'reloads ohai' do
    expect(chef_run).to reload_ohai('reload')
  end
end

require 'spec_helper'

describe 'aws::ec2_hints' do
  let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }

  it 'adds the hint file' do
    expect(chef_run).to create_ohai_hint('ec2').at_compile_time
  end

  it 'reloads ohai' do
    expect(chef_run).to reload_ohai('reload')
  end
end

--- 
+++ 
@@ -3,7 +3,7 @@
 describe 'aws::ec2_hints' do
   let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
 
-  it 'adds the hint file' do
+  it 'creates the ohai hint' do
     expect(chef_run).to create_ohai_hint('ec2').at_compile_time
   end
 
Use a better description in the ChefSpec
