Fixed protected branches and file edit

This commit is contained in:
Dmitriy Zaporozhets 2013-01-04 21:45:30 +02:00
parent afbdbb0c95
commit ef5b36eaaf
9 changed files with 21 additions and 20 deletions

View file

@ -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) }