summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-13 15:58:22 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-13 15:58:22 +0200
commit251a78022d12c62ff738540d4104bbf0730ef234 (patch)
tree974e0f82fcc947a6ca5abf742fc87ebd406ce4cc /spec
parent4af0968c43d517a3d702658749b5117ba4b9e11a (diff)
downloadgitlab-ce-251a78022d12c62ff738540d4104bbf0730ef234.tar.gz
Cleanup changes
Diffstat (limited to 'spec')
-rw-r--r--spec/features/commits_spec.rb5
-rw-r--r--spec/helpers/ci_status_helper_spec.rb2
2 files changed, 1 insertions, 6 deletions
diff --git a/spec/features/commits_spec.rb b/spec/features/commits_spec.rb
index 80e80ea665d..dacaa96d760 100644
--- a/spec/features/commits_spec.rb
+++ b/spec/features/commits_spec.rb
@@ -162,9 +162,4 @@ describe 'Commits' do
end
end
end
-
- def ci_status_path(ci_commit)
- project = ci_commit.project
- builds_namespace_project_commit_path(project.namespace, project, ci_commit.sha)
- end
end
diff --git a/spec/helpers/ci_status_helper_spec.rb b/spec/helpers/ci_status_helper_spec.rb
index 906db0ea829..f942695b6f0 100644
--- a/spec/helpers/ci_status_helper_spec.rb
+++ b/spec/helpers/ci_status_helper_spec.rb
@@ -6,7 +6,7 @@ describe CiStatusHelper do
let(:success_commit) { double("Ci::Commit", status: 'success') }
let(:failed_commit) { double("Ci::Commit", status: 'failed') }
- describe 'ci_status_icon' do
+ describe 'ci_icon_for_status' do
it { expect(helper.ci_icon_for_status(success_commit.status)).to include('fa-check') }
it { expect(helper.ci_icon_for_status(failed_commit.status)).to include('fa-close') }
end