diff options
Diffstat (limited to 'spec/models/diff_viewer/server_side_spec.rb')
-rw-r--r-- | spec/models/diff_viewer/server_side_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/diff_viewer/server_side_spec.rb b/spec/models/diff_viewer/server_side_spec.rb index 686dd1249be..28660b0d4b9 100644 --- a/spec/models/diff_viewer/server_side_spec.rb +++ b/spec/models/diff_viewer/server_side_spec.rb @@ -4,6 +4,7 @@ require 'spec_helper' RSpec.describe DiffViewer::ServerSide do let_it_be(:project) { create(:project, :repository) } + let(:commit) { project.commit_by(oid: '570e7b2abdd848b95f2f578043fc23bd6f6fd24d') } let!(:diff_file) { commit.diffs.diff_file_with_new_path('files/ruby/popen.rb') } |