Skip to content

Commit

Permalink
[#22] [TEST] Do not run .jar ownership tests on Chef 0.10.10
Browse files Browse the repository at this point in the history
The link resource is seriously broken in Chef 0.10.10 (see eg. http://tickets.opscode.com/browse/CHEF-3126).
Let's skip the ownership test in that case.

Closes #22, closes chef-boneyard/minitest-chef-handler#27.
  • Loading branch information
karmi committed Jul 30, 2012
1 parent ebf1328 commit a282490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/default/tests/minitest/installation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
file("/usr/local/elasticsearch-#{version}/lib/elasticsearch-#{version}.jar").
must_exist.
with(:owner, 'elasticsearch')
end
end unless Chef::VERSION == '0.10.10'

it "has a link to versioned directory" do
version = node[:elasticsearch][:version]
Expand Down

0 comments on commit a282490

Please sign in to comment.