Sha256: 07359d3474f5ccbb165b62e24926c714b9a34a01c42b2a9f00e9c96ec083f29d
Contents?: true
Size: 439 Bytes
Versions: 3
Compression:
Stored size: 439 Bytes
Contents
class Spec::Rails::Example::SeleniumExampleGroup < Spec::Rails::Example::BaseWebratExampleGroup self.use_transactional_fixtures = false self.use_instantiated_fixtures = true def current_path selenium.location.blank? ? "" : URI.parse(selenium.location).path end def current_dom Nokogiri::HTML(response.body) end end Spec::Example::ExampleGroupFactory.register(:selenium, Spec::Rails::Example::SeleniumExampleGroup)
Version data entries
3 entries across 3 versions & 3 rubygems