1
0
Fork 0
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:
Jonas Nicklas 2010-07-10 13:19:44 +02:00
parent 2b9a61443f
commit 191e9ba815

View file

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