diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-04-28 17:59:42 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-28 17:59:42 +0300 |
commit | b9bbbb319a8186f2b2aecba9a0bd33c95e2d3353 (patch) | |
tree | 02414526097d2ca33320914a386738e6cd901df0 /spec/models/commit_spec.rb | |
parent | 5f4de8f91e6e75e2d70e199156a813d9608a0fe3 (diff) | |
download | gitlab-ci-b9bbbb319a8186f2b2aecba9a0bd33c95e2d3353.tar.gz |
Fix 'ci skip' tag
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index af53df9..28cd0ef 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -54,20 +54,6 @@ describe Commit do end end - describe :ci_skip? do - let(:project) { FactoryGirl.create(:project) } - let(:commit) { FactoryGirl.create(:commit, project: project) } - - it 'true if commit message contains [ci skip]' do - commit.stub(:git_commit_message) { 'Small typo [ci skip]' } - commit.ci_skip?.should == true - end - - it 'false if commit message does not contain [ci skip]' do - commit.ci_skip?.should == false - end - end - describe :project_recipients do context 'always sending notification' do |