Sha256: d3c11468c26c6c02bc12b2c15777270c4ac6a48af04907ee735086ee90f617cf
Contents?: true
Size: 303 Bytes
Versions: 3
Compression:
Stored size: 303 Bytes
Contents
def valid_signin(user) fill_in "inputEmail", :with => user.email fill_in "inputPassword", :with => user.password click_button "signin-button" end RSpec::Matchers::define :have_title do |text| match do |page| Capybara.string(page.body).has_selector?('title', :text => text) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-0.0.7 | spec/support/helper_methods.rb |
adminpanel-0.0.6.1 | spec/support/helper_methods.rb |
adminpanel-0.0.6 | spec/support/helper_methods.rb |