rspec installed, first tests

This commit is contained in:
Karol Selak 2021-03-20 17:08:11 +01:00
parent 53819e6839
commit 0b2bd70f16
29 changed files with 234 additions and 139 deletions

View file

@ -0,0 +1,12 @@
require 'rails_helper'
RSpec.describe UsersController do
describe 'get new' do
subject { get 'new' }
it 'renders the users/new template' do
expect(subject).to render_template('users/new')
end
end
describe 'get create' do
end
end