Skip to content

Commit

Permalink
fix spec error
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed May 15, 2024
1 parent 1705c72 commit 83ca115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ddcov/ddcov_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def absolute_path(path)
expect(I❤️Ruby.new.call).to eq("I ❤️ Ruby")
coverage = subject.stop
expect(coverage.size).to eq(1)
expect(coverage.keys).to absolute_path("calculator/code_with_❤️.rb")
expect(coverage.keys).to include(absolute_path("calculator/code_with_❤️.rb"))
end

context "when ignored_path is set" do
Expand Down

0 comments on commit 83ca115

Please sign in to comment.