<commit_before>require 'test_helper'

class SessionsControllerTest < ActionDispatch::IntegrationTest

  test "should get new" do
    get sessions_new_url
    assert_response :success
  end
end<commit_msg>Testing sessions controller<commit_after>require 'test_helper'

class SessionsControllerTest < ActionDispatch::IntegrationTest

  test "should get new" do
    get sessions_new_url
    assert_response :success
  end

  test "should create session" do
  	post login_path, params{session:{email:"member@member" , password:"<PASSWORD>"}}
  	assert_redirect_to member_path
  end

  test "should destroy session" do
  	delete login_path
  	assert_redirect_to root_url #ADICIONAR DEPOIS A HOMEPAGE
  end
end
{'fraction_non_alphanumeric': 0.061079545454545456, 'fraction_numerical': 0.0, 'mean_word_length': 5.294642857142857, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5441552', 'n_tokens_mistral': 212, 'n_tokens_neox': 206, 'n_words': 59}