Sha256: b1d11bccab19075a6447ba7b70d2d757bb9047a63c0d3e5ebedd984e403ee66b

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

require 'rails_helper'
require 'rack/test'

RSpec.describe UsersController, type: :controller do
  render_views

  describe 'GET /users', feature: 'Show all users' do
    before do
      User.create login: 'alice'
    end
    it 'lists the users' do
      get :index
      expect(response).to be_ok
    end
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
appmap-0.38.1 spec/fixtures/rails5_users_app/spec/controllers/users_controller_spec.rb
appmap-0.38.1 spec/fixtures/rails6_users_app/spec/controllers/users_controller_spec.rb