```ruby
require 'spec_helper'

describe 'default recipe on Ubuntu 14.04' do
  let(:chef_run) do
    ChefSpec::ServerRunner.new do |node|
      node.automatic[:lsb][:codename] = 'trusty'
    end.converge('tomcat::default')
  end

  it 'converges successfully' do
    expect { :chef_run }.to_not raise_error
  end
end
```

Fix bad platform setting in the spec
user
```ruby
require 'spec_helper'

describe 'default recipe on ubuntu 16.04' do
  let(:runner) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04') }
  let(:chef_run) { runner.converge('tomcat::default') }

  it 'converges successfully' do
    expect { :chef_run }.to_not raise_error
  end
end
```
assistant