latest jruby fixed non-excutable to raise EACCESS

This commit is contained in:
David Dollar
2012-01-31 18:01:53 -05:00
parent e1e18f62bb
commit 51f5ff3842
+5 -8
View File
@@ -148,15 +148,12 @@ describe "Foreman::CLI", :fakefs do
end
end
# inconsistency in jruby, disabling for now
unless Foreman.jruby?
describe "and a non-executable command" do
let(:command) { __FILE__ }
describe "and a non-executable command" do
let(:command) { __FILE__ }
it "should print an error" do
mock_error(subject, "not executable: #{command}") do
subject.run command
end
it "should print an error" do
mock_error(subject, "not executable: #{command}") do
subject.run command
end
end
end