Skip to content

Commit

Permalink
runner_spec: Explicitly call test_suite.sh with bash
Browse files Browse the repository at this point in the history
Calling it on its own means that file descriptors don't get passed
to it.
  • Loading branch information
smspillaz committed Mar 24, 2015
1 parent 4427eb2 commit d755436
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/bashcov/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
require 'benchmark'

describe Bashcov::Runner do
let(:runner) { Bashcov::Runner.new test_suite }
suite = test_suite
let(:runner) { Bashcov::Runner.new "bash #{suite}" }

before :all do
Dir.chdir File.dirname(test_suite)
Expand Down

0 comments on commit d755436

Please sign in to comment.