Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Sep 20, 2019
1 parent c160b37 commit e9296e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/source_path_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def git_repo_fixture

it "skips a bad zip archive" do
within_construct do |c|
c.file("bad.zip")
c.file("bad.zip", "not a zip file")
expanded = described_class.new("test", "bad.zip")
expect(expanded.directory).to be_nil
expect(Logging.contents).to match(/Could not read from zip/)
Expand Down

0 comments on commit e9296e9

Please sign in to comment.