Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarzyna Kobierska <kkobierska@gmail.com>2016-09-12 09:47:35 +0300
committerKatarzyna Kobierska <kkobierska@gmail.com>2016-09-30 13:22:55 +0300
commit3efbf92e34eb8328817c64fda7ea73357128a61d (patch)
treeac0e91cc68bc9eba9a8da71e0f2bc17a5c7cd238
parentb13502ef825ec6f105ab47a29e7d397636c4d03b (diff)
Improve tests grammar
-rw-r--r--spec/views/ci/lints/show.html.haml_spec.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/views/ci/lints/show.html.haml_spec.rb b/spec/views/ci/lints/show.html.haml_spec.rb
index f1d91eab356..be41134d12a 100644
--- a/spec/views/ci/lints/show.html.haml_spec.rb
+++ b/spec/views/ci/lints/show.html.haml_spec.rb
@@ -2,7 +2,8 @@ require 'spec_helper'
describe 'ci/lints/show' do
let(:content) do
- { build_template: {
+ {
+ build_template: {
script: './build.sh',
tags: ['dotnet'],
only: ['test@dude/repo'],
@@ -11,16 +12,17 @@ describe 'ci/lints/show' do
}
}
end
+
let(:config_processor) { Ci::GitlabCiYamlProcessor.new(YAML.dump(content)) }
- context 'when content is valid' do
+ context 'when the content is valid' do
before do
assign(:status, true)
assign(:builds, config_processor.builds)
assign(:stages, config_processor.stages)
end
- it 'shows correct values' do
+ it 'shows the correct values' do
render
expect(rendered).to have_content('Tag list: dotnet')