mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Remove scope spec
This commit is contained in:
parent
2b9a61443f
commit
191e9ba815
1 changed files with 0 additions and 7 deletions
|
@ -57,13 +57,6 @@ describe Capybara::XPath do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#scope' do
|
||||
it "should prepend the given scope to all paths" do
|
||||
@xpath = Capybara::XPath.new('//foo/bar', '//test[@blah=foo]').scope('//quox')
|
||||
@xpath.paths.should include('//quox//foo/bar', '//quox//test[@blah=foo]')
|
||||
end
|
||||
end
|
||||
|
||||
describe '#field' do
|
||||
it "should find any field by id or label" do
|
||||
@query = @xpath.field('First Name').to_s
|
||||
|
|
Loading…
Reference in a new issue