Add request specs
This commit is contained in:
parent
cfb4ec6536
commit
449f6edb45
|
@ -0,0 +1,13 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'rails_helper'
|
||||||
|
|
||||||
|
RSpec.describe 'GET /users/sign_in' do
|
||||||
|
before do
|
||||||
|
get '/users/sign_in'
|
||||||
|
end
|
||||||
|
|
||||||
|
specify do
|
||||||
|
expect(response).to have_http_status :ok
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,13 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'rails_helper'
|
||||||
|
|
||||||
|
RSpec.describe 'GET /users/sign_up' do
|
||||||
|
before do
|
||||||
|
get '/users/sign_up'
|
||||||
|
end
|
||||||
|
|
||||||
|
specify do
|
||||||
|
expect(response).to have_http_status :ok
|
||||||
|
end
|
||||||
|
end
|
Reference in New Issue