Sha256: 8380a4bc54476e196e64de28021702a7951a77edcbfb4e21b12152fd59b1895e
Contents?: true
Size: 389 Bytes
Versions: 1
Compression:
Stored size: 389 Bytes
Contents
require 'spec_helper' describe Bashcov::Xtrace do before do @runner ||= Bashcov::Runner.new test_suite @runner.run @xtrace ||= Bashcov::Xtrace.new @runner.output end describe "#files" do it "returns a list of executed files" do files = @xtrace.files files.class.should == Hash files.keys.should =~ executed_files + [test_suite] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bashcov-0.0.1 | spec/bashcov/xtrace_spec.rb |