summaryrefslogtreecommitdiff
path: root/spec/models/commit_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-05 00:49:58 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-05 00:49:58 +0200
commit0a94640e328ab30dcf90e65ba79242bc1aa77a57 (patch)
tree49599acd6e4dbc50de0491ff174588b1fbf0cf8e /spec/models/commit_spec.rb
parente6c0673ef1108a93928c4d88ba273e12616b836b (diff)
parentde6fa5dd520244e9802b5b486ce9d437556baf31 (diff)
downloadgitlab-ce-0a94640e328ab30dcf90e65ba79242bc1aa77a57.tar.gz
Merge branch 'refactoring/backend'
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r--spec/models/commit_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index e760c501bd7..91301029e89 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe Commit do
- let(:commit) { create(:project).commit }
+ let(:commit) { create(:project).repository.commit }
describe CommitDecorator do
let(:decorator) { CommitDecorator.new(commit) }