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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-02-22 15:54:22 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-02-22 15:54:22 +0300
commit867a4f68cbbe58652e8389e05edfd36df81cb72b (patch)
treeac3451c33a5f812f3405bc2fdabbe8eca82090f8 /spec/lib/gitlab/ci/pipeline/expression/statement_spec.rb
parentb92ce0ccb68d1dd39a1dd06f4a57979db7299526 (diff)
Extract pipeline expressions parser to a separate class
Diffstat (limited to 'spec/lib/gitlab/ci/pipeline/expression/statement_spec.rb')
-rw-r--r--spec/lib/gitlab/ci/pipeline/expression/statement_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/lib/gitlab/ci/pipeline/expression/statement_spec.rb b/spec/lib/gitlab/ci/pipeline/expression/statement_spec.rb
index 641398d539a..3c2cbbac80d 100644
--- a/spec/lib/gitlab/ci/pipeline/expression/statement_spec.rb
+++ b/spec/lib/gitlab/ci/pipeline/expression/statement_spec.rb
@@ -12,18 +12,6 @@ describe Gitlab::Ci::Pipeline::Expression::Statement do
pipeline.variables.build([key: 'VARIABLE', value: 'my variable'])
end
- describe '#tokens' do
- it 'returns raw tokens' do
- expect(subject.tokens.size).to eq 2
- end
- end
-
- describe '#lexemes' do
- it 'returns an array of syntax lexemes' do
- expect(subject.lexemes).to eq %w[variable string]
- end
- end
-
describe '#parse_tree' do
context 'when expression is empty' do
let(:text) { '' }