require 'test_helper'


# See https://github.com/metaskills/minitest-spec-rails#test-styles
class IntegrationTest < ActionDispatch::IntegrationTest

  describe 'signing up' do
    it 'allows a user to create an account' do
      visit home_path
      click_link 'sign up'
      fill_in 'Email', with: 'name@company.com'
      fill_in 'Password', with: 'Password1234'
      fill_in 'Password confirmation', with: 'Password1234'
      click_button 'Create User'
      current_path.must_equal home_path
    end
  end

end

require 'test_helper'

# See https://github.com/metaskills/minitest-spec-rails#test-styles
class IntegrationTest < ActionDispatch::IntegrationTest

  describe 'signing up' do
    it 'allows a user to create an account' do
      visit home_path
      click_link 'sign up'
      fill_in 'Email', with: 'name@company.com'
      fill_in 'Password', with: 'Password1234'
      fill_in 'Password confirmation', with: 'Password1234'
      click_button 'Create User'
      current_path.must_equal home_path
    end
  end

end

Remove extraneous blank line from source code
Remove extraneous blank line from source code
