summaryrefslogtreecommitdiff
path: root/spec/models/commit_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r--spec/models/commit_spec.rb8
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