diff --git a/spec/models/post_spec.rb b/spec/models/post_spec.rb index de591e26aa8..f51c586686d 100644 --- a/spec/models/post_spec.rb +++ b/spec/models/post_spec.rb @@ -1411,10 +1411,10 @@ describe Post do paths = [] sha1s = [] - post.each_upload_url do |src, path, sha1| + post.each_upload_url do |src, path, sha| urls << src paths << path - sha1s << sha1 + sha1s << sha end expect(urls).to contain_exactly(url)