Commit e85ed5cb authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix few typos in QA selectors validation code

parent 77c4c98a
...@@ -9,7 +9,7 @@ module QA ...@@ -9,7 +9,7 @@ module QA
end end
def pathname def pathname
@pathname ||= Pathname.new(File.join( __dir__, '../../../', @path)) @pathname ||= Pathname.new(File.join(__dir__, '../../../', @path))
.cleanpath.expand_path .cleanpath.expand_path
end end
......
...@@ -4,7 +4,7 @@ describe QA::Page::Validator do ...@@ -4,7 +4,7 @@ describe QA::Page::Validator do
described_class.new(QA::Page::Project) described_class.new(QA::Page::Project)
end end
it 'returns all costants that are module children' do it 'returns all constants that are module children' do
expect(subject.constants) expect(subject.constants)
.to include QA::Page::Project::New, QA::Page::Project::Settings .to include QA::Page::Project::New, QA::Page::Project::Settings
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment