rspec installed, first tests
This commit is contained in:
parent
53819e6839
commit
0b2bd70f16
29 changed files with 234 additions and 139 deletions
12
spec/controllers/users_controller_spec.rb
Normal file
12
spec/controllers/users_controller_spec.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue