diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-05-04 18:11:20 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-05-04 18:11:20 +0300 |
commit | ce534e9395b9c6eaaef7400547a5adc613f046a7 (patch) | |
tree | c869863d978a26d4864436d91d129b635c18d564 /spec/models/commit_spec.rb | |
parent | 5b7589664297fd066324acfb9b6eafe2ad1d432c (diff) | |
download | gitlab-ci-ce534e9395b9c6eaaef7400547a5adc613f046a7.tar.gz |
Refactoring. Clean up advanced settings. Migrate from gotlab_url to path
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index 28cd0ef..75d5610 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -111,7 +111,7 @@ describe Commit do describe :compare? do subject { commit_with_project.compare? } - context 'if project.gitlab_url and commit.before_sha are not nil' do + context 'if commit.before_sha are not nil' do it { should be_true } end end @@ -130,12 +130,6 @@ describe Commit do it { commit.sha.should start_with(subject) } end - describe :gitlab? do - subject { commit_with_project.gitlab? } - - it { should eq(project.gitlab?) } - end - describe "create_deploy_builds" do it "creates deploy build" do FactoryGirl.create :job, job_type: :deploy, project: project |