Fix few typos in QA selectors validation code

This commit is contained in:
Grzegorz Bizon 2018-01-10 11:15:57 +01:00
parent 77c4c98aed
commit e85ed5cbcf
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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