Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Diogo Tridapalli <[email protected]>
  • Loading branch information
diogot committed Oct 11, 2021
1 parent 53bb783 commit 962ac2f
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 @@ -14,7 +14,7 @@ module Danger
before do
@dangerfile = testing_dangerfile
@xcode_summary = @dangerfile.xcode_summary
@xcode_summary.env.request_source.pr_json = JSON.parse(IO.read('spec/fixtures/pr_json.json'))
@xcode_summary.env.request_source.pr_json = JSON.parse(File.read('spec/fixtures/pr_json.json'))
@xcode_summary.project_root = '/Users/marcelofabri/SwiftLint/'
end

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

Expand Down

0 comments on commit 962ac2f

Please sign in to comment.