1
0
Fork 0

Add request specs

This commit is contained in:
Alex Kotov 2018-12-01 03:59:42 +05:00
parent cfb4ec6536
commit 449f6edb45
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
2 changed files with 26 additions and 0 deletions

View File

@ -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

View File

@ -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