diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-11-15 12:13:50 +0200 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-11-15 12:15:43 +0200 |
commit | 566ba126f5d8090edc760fe0c20215da73452e47 (patch) | |
tree | 0b4ba9f5b5b99a5957c6dc305eee4155699a18e6 /spec/lib/gitlab/ci/build/policy/refs_spec.rb | |
parent | 64c35c74f9e878226112897e7c67268358353bc7 (diff) | |
download | gitlab-ce-566ba126f5d8090edc760fe0c20215da73452e47.tar.gz |
Fix typos in lib
Diffstat (limited to 'spec/lib/gitlab/ci/build/policy/refs_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/build/policy/refs_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/ci/build/policy/refs_spec.rb b/spec/lib/gitlab/ci/build/policy/refs_spec.rb index 7211187e511..553fc0fb9bf 100644 --- a/spec/lib/gitlab/ci/build/policy/refs_spec.rb +++ b/spec/lib/gitlab/ci/build/policy/refs_spec.rb @@ -16,7 +16,7 @@ describe Gitlab::Ci::Build::Policy::Refs do end end - context 'when maching tags' do + context 'when matching tags' do context 'when pipeline runs for a tag' do let(:pipeline) do build_stubbed(:ci_pipeline, ref: 'feature', tag: true) @@ -56,10 +56,10 @@ describe Gitlab::Ci::Build::Policy::Refs do end end - context 'when maching a source' do + context 'when matching a source' do let(:pipeline) { build_stubbed(:ci_pipeline, source: :push) } - it 'is satisifed when provided source keyword matches' do + it 'is satisfied when provided source keyword matches' do expect(described_class.new(%w[pushes])) .to be_satisfied_by(pipeline) end |