diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-10 11:15:57 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-10 11:15:57 +0100 |
commit | e85ed5cbcf302233450cef384974eee377f3051f (patch) | |
tree | 3471e6089f7263bbc2372bb6cc2d71e698af5ae1 /qa | |
parent | 77c4c98aedc57dcaa9f22a612ed4697c4c7200e8 (diff) | |
download | gitlab-ce-e85ed5cbcf302233450cef384974eee377f3051f.tar.gz |
Fix few typos in QA selectors validation code
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/view.rb | 2 | ||||
-rw-r--r-- | qa/spec/page/validator_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/page/view.rb b/qa/qa/page/view.rb index ebb28d5fb12..6635e1ce039 100644 --- a/qa/qa/page/view.rb +++ b/qa/qa/page/view.rb @@ -9,7 +9,7 @@ module QA end def pathname - @pathname ||= Pathname.new(File.join( __dir__, '../../../', @path)) + @pathname ||= Pathname.new(File.join(__dir__, '../../../', @path)) .cleanpath.expand_path end diff --git a/qa/spec/page/validator_spec.rb b/qa/spec/page/validator_spec.rb index e13fb1eae5b..02822d7d18f 100644 --- a/qa/spec/page/validator_spec.rb +++ b/qa/spec/page/validator_spec.rb @@ -4,7 +4,7 @@ describe QA::Page::Validator do described_class.new(QA::Page::Project) end - it 'returns all costants that are module children' do + it 'returns all constants that are module children' do expect(subject.constants) .to include QA::Page::Project::New, QA::Page::Project::Settings end |