Sha256: da01d2af7d048e50f0c47485efe4386fdb3d4dd774ba5ac8061ef2f8a75fa343
Contents?: true
Size: 316 Bytes
Versions: 3
Compression:
Stored size: 316 Bytes
Contents
require 'capybara/dsl' module Bbq class TestUser module CapybaraDsl ::Capybara::Session::DSL_METHODS.each do |method| class_eval <<-RUBY, __FILE__, __LINE__+1 def #{method}(*args, &block) page.#{method}(*args, &block) end RUBY end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bbq-0.2.1 | lib/bbq/test_user/capybara_dsl.rb |
bbq-0.2.0 | lib/bbq/test_user/capybara_dsl.rb |
bbq-0.1.0 | lib/bbq/test_user/capybara_dsl.rb |