Skip to content

Commit 962ac2f

Browse files
committed
Fix warnings
Signed-off-by: Diogo Tridapalli <[email protected]>
1 parent 53bb783 commit 962ac2f

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
@@ -14,7 +14,7 @@ module Danger
1414
before do
1515
@dangerfile = testing_dangerfile
1616
@xcode_summary = @dangerfile.xcode_summary
17-
@xcode_summary.env.request_source.pr_json = JSON.parse(IO.read('spec/fixtures/pr_json.json'))
17+
@xcode_summary.env.request_source.pr_json = JSON.parse(File.read('spec/fixtures/pr_json.json'))
1818
@xcode_summary.project_root = '/Users/marcelofabri/SwiftLint/'
1919
end
2020

@@ -180,7 +180,7 @@ module Danger
180180
before do
181181
@dangerfile = testing_bitbucket_dangerfile
182182
@xcode_summary = @dangerfile.xcode_summary
183-
@xcode_summary.env.request_source.pr_json = JSON.parse(IO.read('spec/fixtures/bitbucket_pr.json'), symbolize_names: true)
183+
@xcode_summary.env.request_source.pr_json = JSON.parse(File.read('spec/fixtures/bitbucket_pr.json'), symbolize_names: true)
184184
@xcode_summary.project_root = '/Users/diogo/src/danger-xcode_summary'
185185
end
186186

0 commit comments

Comments
 (0)