File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments