```ruby
require 'spec_helper'

describe 'whatpulse' do
  it do
    should contain_package('Whatpulse').with({
      :source   => 'http://amcdn.whatpulse.org/files/whatpulse-mac-2.2.1.dmg',
      :provider => 'okgdmg'
    })
  end
end

```

Fix spec to check for correct type of package
user
```ruby
require 'spec_helper'

describe 'whatpulse' do
  it do
    should contain_package('Whatpulse').with({
      :source   => 'http://amcdn.whatpulse.org/files/whatpulse-mac-2.2.1.dmg',
      :provider => 'pkgdmg'
    })
  end
end

```
assistant