Sha256: eaf7868258403c095288881d77df5be51030f049d5729646db1556f449b14288

Contents?: true

Size: 374 Bytes

Versions: 38

Compression:

Stored size: 374 Bytes

Contents

require "helper"

# Test to verify correct handling of deleted files
# See https://github.com/colszowka/simplecov/issues/9
describe "A source file which is subsequently deleted" do
  it "does not cause an error" do
    Dir.chdir(File.join(File.dirname(__FILE__), "fixtures")) do
      `ruby deleted_source_sample.rb`
      expect($?.exitstatus).to be_zero
    end
  end
end

Version data entries

38 entries across 38 versions & 10 rubygems

Version Path
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb
tdiary-5.0.9 vendor/bundle/gems/simplecov-0.14.1/spec/deleted_source_spec.rb
dirwatch-0.0.6 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb
dirwatch-0.0.5 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb
dirwatch-0.0.4 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb
dirwatch-0.0.3 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb
simplecov-0.15.1 spec/deleted_source_spec.rb
simplecov-0.15.0 spec/deleted_source_spec.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/spec/deleted_source_spec.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/spec/deleted_source_spec.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/spec/deleted_source_spec.rb
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/spec/deleted_source_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/simplecov-0.14.1/spec/deleted_source_spec.rb
simplecov-patched-0.14.3 spec/deleted_source_spec.rb
simplecov-patched-0.14.2 spec/deleted_source_spec.rb
simplecov-0.14.1 spec/deleted_source_spec.rb
simplecov-0.14.0 spec/deleted_source_spec.rb
simplecov-0.13.0 spec/deleted_source_spec.rb