Sha256: 6ff4bc0b4d7e7b09611477639f973f8209b39540bc64da2fde9ee599e3330300
Contents?: true
Size: 482 Bytes
Versions: 12
Compression:
Stored size: 482 Bytes
Contents
require 'rails_helper' RSpec.describe "PasswordResets", type: :request do before(:each) do @user = User.create!(user: "test name", email: "email@yahoo.com", code: "12345") end skip describe "GET /password_resets" do it "Forgetten password ? Button" do visit new_session_path click_link "Forgotten password?" fill_in "Email", :with => user.email click_button "Reset Password" expect(response).to redirect_to(root_path) end end end
Version data entries
12 entries across 12 versions & 1 rubygems