summaryrefslogtreecommitdiff
path: root/spec/models/commit_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-04 21:45:30 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-04 21:45:30 +0200
commitef5b36eaaf92db19ae90cc599c3f64b865bdc4d5 (patch)
tree4dd03fbf865b82a93cdec1f5d9d44c6b1d211d02 /spec/models/commit_spec.rb
parentafbdbb0c959affbdb8725eafb8169025a8aede1e (diff)
downloadgitlab-ce-ef5b36eaaf92db19ae90cc599c3f64b865bdc4d5.tar.gz
Fixed protected branches and file edit
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) }