Skip to content

Commit

Permalink
latest jruby fixed non-excutable to raise EACCESS
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Jan 31, 2012
1 parent e1e18f6 commit 51f5ff3
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions spec/foreman/cli_spec.rb
Expand Up @@ -148,15 +148,12 @@ def export
end
end

# inconsistency in jruby, disabling for now
unless Foreman.jruby?
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
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
end
end
Expand Down

0 comments on commit 51f5ff3

Please sign in to comment.