diff --git a/app/views/static/password_reset.html.erb b/app/views/static/password_reset.html.erb new file mode 100644 index 00000000000..0100cc870b2 --- /dev/null +++ b/app/views/static/password_reset.html.erb @@ -0,0 +1 @@ + diff --git a/app/views/static/signup.html.erb b/app/views/static/signup.html.erb new file mode 100644 index 00000000000..1c5ecea63c2 --- /dev/null +++ b/app/views/static/signup.html.erb @@ -0,0 +1 @@ + diff --git a/spec/requests/static_controller_spec.rb b/spec/requests/static_controller_spec.rb index 7db1cdbb21b..feec6a38e7b 100644 --- a/spec/requests/static_controller_spec.rb +++ b/spec/requests/static_controller_spec.rb @@ -96,13 +96,23 @@ describe StaticController do end context "with a static file that's present" do - it "should return the right response" do + it "should return the right response for /faq" do get "/faq" expect(response.status).to eq(200) expect(response.body).to include(I18n.t('js.faq')) expect(response.body).to include("FAQ - Discourse") end + + it "should return the right response for /signup" do + get "/signup" + expect(response.status).to eq(200) + end + + it "should return the right response for /password-reset" do + get "/password-reset" + expect(response.status).to eq(200) + end end [