Add dashboard, allow password resets when signed in

This commit is contained in:
2020-11-11 18:56:06 +01:00
parent 674b0a0ff5
commit a09741ba28
14 changed files with 86 additions and 13 deletions

View File

@@ -0,0 +1,15 @@
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the DashboardHelper. For example:
#
# describe DashboardHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# end
# end
RSpec.describe DashboardHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end

View File

@@ -0,0 +1,12 @@
require 'rails_helper'
RSpec.describe "Dashboards", type: :request do
describe "GET /index" do
it "returns http success" do
get "/dashboard/index"
expect(response).to have_http_status(:success)
end
end
end

View File

@@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe "dashboard/index.html.erb", type: :view do
pending "add some examples to (or delete) #{__FILE__}"
end