Skip to content

Commit d514621

Browse files
Pass 'file/not/found' directly
Co-authored-by: Gio Lodi <gio.lodi@automattic.com>
1 parent 4c73bc8 commit d514621

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/ios_get_build_number_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,9 @@
4343
end
4444

4545
it 'throws an error when the xcconfig file does not exist' do
46-
file_path = 'file/not/found'
47-
4846
expect do
4947
run_described_fastlane_action(
50-
xcconfig_file_path: file_path
48+
xcconfig_file_path: 'file/not/found'
5149
)
5250
# Ruby error for 'No such file or directory': https://ruby-doc.org/core-2.7.4/SystemCallError.html
5351
end.to raise_error(Errno::ENOENT)

0 commit comments

Comments
 (0)