```ruby
require 'spec_helper'

describe 'emacs' do
  let(:version) { '24.3-boxen3' }
  let(:install_options) { [ '--cocoa' ] }
  let(:facts) { { :boxen_home => '/opt/boxen' } }

  it do
    should include_class('homebrew')

    should contain_homebrew__formula('emacs')

    should contain_package('boxen/brews/emacs').with({
      :ensure          => version,
      :install_options => install_options,
    })

    should contain_file('/Applications/Emacs.app').with({
      :ensure  => 'link',
      :target  => "/opt/boxen/homebrew/Cellar/emacs/#{version}/Emacs.app",
      :require => 'Package[boxen/brews/emacs]',
    })
  end
end
```

Fix expected formula version in specs
user
```ruby
require 'spec_helper'

describe 'emacs' do
  let(:version) { '24.3-boxen4' }
  let(:install_options) { [ '--cocoa' ] }
  let(:facts) { { :boxen_home => '/opt/boxen' } }

  it do
    should include_class('homebrew')

    should contain_homebrew__formula('emacs')

    should contain_package('boxen/brews/emacs').with({
      :ensure          => version,
      :install_options => install_options,
    })

    should contain_file('/Applications/Emacs.app').with({
      :ensure  => 'link',
      :target  => "/opt/boxen/homebrew/Cellar/emacs/#{version}/Emacs.app",
      :require => 'Package[boxen/brews/emacs]',
    })
  end
end
```
assistant