Fix spelling mistake, thanks Connor.
This commit is contained in:
parent
17ef4cdff9
commit
4465e2eca0
|
@ -31,7 +31,7 @@
|
||||||
.col-sm-10
|
.col-sm-10
|
||||||
.checkbox
|
.checkbox
|
||||||
= f.check_box :public
|
= f.check_box :public
|
||||||
%span.descr Make this group public (even if there is no any public project inside this group)
|
%span.descr Make this group public (even if there are no public projects inside this group)
|
||||||
|
|
||||||
.form-actions
|
.form-actions
|
||||||
= f.submit 'Save group', class: "btn btn-save"
|
= f.submit 'Save group', class: "btn btn-save"
|
||||||
|
|
|
@ -3,7 +3,7 @@ require 'spec_helper'
|
||||||
module Ci
|
module Ci
|
||||||
describe GitlabCiYamlProcessor, lib: true do
|
describe GitlabCiYamlProcessor, lib: true do
|
||||||
let(:path) { 'path' }
|
let(:path) { 'path' }
|
||||||
|
|
||||||
describe "#builds_for_ref" do
|
describe "#builds_for_ref" do
|
||||||
let(:type) { 'test' }
|
let(:type) { 'test' }
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ module Ci
|
||||||
when: "on_success"
|
when: "on_success"
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
describe :only do
|
describe :only do
|
||||||
it "does not return builds if only has another branch" do
|
it "does not return builds if only has another branch" do
|
||||||
config = YAML.dump({
|
config = YAML.dump({
|
||||||
|
@ -517,7 +517,7 @@ module Ci
|
||||||
end.to raise_error(GitlabCiYamlProcessor::ValidationError, "Unknown parameter: extra")
|
end.to raise_error(GitlabCiYamlProcessor::ValidationError, "Unknown parameter: extra")
|
||||||
end
|
end
|
||||||
|
|
||||||
it "returns errors if there is no any jobs defined" do
|
it "returns errors if there are no jobs defined" do
|
||||||
config = YAML.dump({ before_script: ["bundle update"] })
|
config = YAML.dump({ before_script: ["bundle update"] })
|
||||||
expect do
|
expect do
|
||||||
GitlabCiYamlProcessor.new(config, path)
|
GitlabCiYamlProcessor.new(config, path)
|
||||||
|
|
Loading…
Reference in New Issue