Sha256: 0b6af255f60b5522e29245ac826a34b14a37ce9c677bf7351e2b176839c35c5e
Contents?: true
Size: 381 Bytes
Versions: 40
Compression:
Stored size: 381 Bytes
Contents
shared_examples_for "current_url" do describe '#current_url' do it "should return the current url" do @session.visit('/form') @session.current_url.should =~ %r(http://[^/]+/form) end end describe '#current_path' do it 'should show the correct location' do @session.visit('/foo') @session.current_path.should == '/foo' end end end
Version data entries
40 entries across 40 versions & 8 rubygems