Skip to content

Commit

Permalink
Adapted test cases to expect relative path for filename attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsKahmann committed Apr 1, 2020
1 parent d3695a1 commit 43c3b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/xcode_summary_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ module Danger
expect(@xcode_summary).to have_received(:warn).with(
instance_of(String),
sticky: false,
file: 'Bla.m',
file: 'MyWeight/Bla.m',
line: 32
)
expect(@xcode_summary).to have_received(:warn).with(
instance_of(String),
sticky: false,
file: 'ISO8601DateFormatter.m',
file: 'MyWeight/Pods/ISO8601DateFormatter/ISO8601DateFormatter.m',
line: 176
)
end
Expand Down

0 comments on commit 43c3b50

Please sign in to comment.