Sha256: 803fa35e5653a4e9545ee942d089347300f54faaf22a023b540677a7c26fe291

Contents?: true

Size: 208 Bytes

Versions: 83

Compression:

Stored size: 208 Bytes

Contents

require 'spec_helper'

module RequestHelpers
  def login(user)
    visit new_user_session_path
    fill_in 'Email', with: user.email
    fill_in 'Password', with: user.password
    click_on 'Login'
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
tenon-1.1.8 spec/support/request_helpers.rb
tenon-1.1.7 spec/support/request_helpers.rb
tenon-1.1.6 spec/support/request_helpers.rb
tenon-1.1.5 spec/support/request_helpers.rb
tenon-1.1.4 spec/support/request_helpers.rb
tenon-1.1.3 spec/support/request_helpers.rb
tenon-1.1.2 spec/support/request_helpers.rb
tenon-1.1.1 spec/support/request_helpers.rb
tenon-1.0.76 spec/support/request_helpers.rb
tenon-1.0.75 spec/support/request_helpers.rb
tenon-1.0.74 spec/support/request_helpers.rb
tenon-1.0.73 spec/support/request_helpers.rb
tenon-1.0.72 spec/support/request_helpers.rb
tenon-1.0.71 spec/support/request_helpers.rb
tenon-1.0.70 spec/support/request_helpers.rb
tenon-1.0.69 spec/support/request_helpers.rb
tenon-1.0.68 spec/support/request_helpers.rb
tenon-1.0.67 spec/support/request_helpers.rb
tenon-1.0.66 spec/support/request_helpers.rb
tenon-1.0.65 spec/support/request_helpers.rb