Sha256: 1ab0ab5ce7ca85c6ef87b978f77b1b41634376b529309ca2190decb4cbee49e0

Contents?: true

Size: 140 Bytes

Versions: 5

Compression:

Stored size: 140 Bytes

Contents

module CapybaraHelpers

  # Signs the given user in.
  def capybara_sign_in user=user
    visit "/flms/login?email=#{user.email}"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flms-0.9.0 spec/support/capybara_helpers.rb
flms-0.1.0 spec/support/capybara_helpers.rb
flms-0.0.3 spec/support/capybara_helpers.rb
flms-0.0.2 spec/support/capybara_helpers.rb
flms-0.0.1 spec/support/capybara_helpers.rb