Skip to content

Commit 43c3b50

Browse files
author
UrsKahmann
committed
Adapted test cases to expect relative path for filename attribute
1 parent d3695a1 commit 43c3b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/xcode_summary_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ module Danger
131131
expect(@xcode_summary).to have_received(:warn).with(
132132
instance_of(String),
133133
sticky: false,
134-
file: 'Bla.m',
134+
file: 'MyWeight/Bla.m',
135135
line: 32
136136
)
137137
expect(@xcode_summary).to have_received(:warn).with(
138138
instance_of(String),
139139
sticky: false,
140-
file: 'ISO8601DateFormatter.m',
140+
file: 'MyWeight/Pods/ISO8601DateFormatter/ISO8601DateFormatter.m',
141141
line: 176
142142
)
143143
end

0 commit comments

Comments
 (0)