describe file('/usr/local/foobar/lib/mysql-connector-java-5.1.19.jar') do
  it { should be_a_file }
  its('mode') { should eq 0755 }
  it { should be_owned_by('foobarbaz') }
end

describe file('/usr/local/foobar/lib/javax.persistence-2.0.0.jar') do
  it { should be_a_file }
end

describe file('/usr/local/foobar/lib/postgresql-9.0-801.jdbc4.jar') do
  it { should be_a_file }
end

describe file('/usr/local/foobar/lib/mm-mysql-2.0.13.pom') do
  it { should be_a_file }
end

describe file('/usr/local/foobar/lib/solr-foo.war') do
  it { should be_a_file }
end

describe file('/etc/mavenrc') do
  it { should be_a_file }
end

describe file('/usr/local/notifyOne') do
  it { should be_a_file }
end

describe file('/usr/local/notifyTwo') do
  it { should be_a_file }
end

describe file('/usr/local/foobar/lib/mysql-connector-java-5.1.19.jar') do
  it { should be_a_file }
  its('mode') { should eq 0755 }
  it { should be_owned_by('foobarbaz') }
end

describe file('/usr/local/foobar/lib/javax.persistence-2.0.0.jar') do
  it { should be_a_file }
end

describe file('/usr/local/foobar/lib/postgresql-9.0-801.jdbc4.jar') do
  it { should be_a_file }
end

describe file('/usr/local/foobar/lib/mm-mysql-2.0.13.pom') do
  it { should be_a_file }
end

describe file('/usr/local/foobar/lib/solr-foo.war') do
  it { should be_a_file }
end

describe file('/etc/mavenrc') do
  it { should be_a_file }
end

describe file('/usr/local/notifyOne') do
  it { should be_a_file }
end

describe file('/usr/local/notifyTwo') do
  it { should_not be_a_file }
end

Fix test to reflect fixed notifications
Fix test to reflect fixed notifications

Now that notifications don’t fire on every run we shouldn’t be creating the 2nd file. There was no update.

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
