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

Version Path
jinda-0.2.7 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.2.6 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.2.5 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.2.4 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.2.3 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.2.2 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.2.1 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.2.0 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.1.9 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.1.8 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.1.7 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb
jinda-0.1.6.6 lib/generators/jinda/templates/spec/requests/password_resets_spec.rb