diff options
author | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-11-24 13:17:42 +0300 |
---|---|---|
committer | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-12-18 15:17:51 +0300 |
commit | 0d1922dd7c08eb098390199af3bc7a3e92812a60 (patch) | |
tree | 5cc4a280458a11dd775bf50c78a951a9860b4ca8 /spec/models | |
parent | 4a10c813e726d09216c534bb0ad0ae50a0400259 (diff) |
Passing an argument to force an association to reload is now deprecated
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/merge_request_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/merge_request_spec.rb b/spec/models/merge_request_spec.rb index bf4117fbcaf..38049a0591e 100644 --- a/spec/models/merge_request_spec.rb +++ b/spec/models/merge_request_spec.rb @@ -2092,7 +2092,7 @@ describe MergeRequest do head_commit_sha: commit.sha ) - subject.merge_request_diff(true) + subject.reload_merge_request_diff end end |