Sha256: efc3c932d851f6b1337cee3c51f9c4aae9b3f8629e2b5d1e034bb7df3099b7f5

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true
require 'rails_helper'

RSpec.describe 'Projects', type: :request do
  let(:user) { FactoryBot.create(:user) }
  before { login_as(user, scope: :user) }

  describe 'GET /projects' do
    it 'works! (now write some real specs)' do
      get projects_path
      expect(response).to have_http_status(200)
    end
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
model_base_generators-0.4.0 examples/rails-5.0/spec/requests/projects_spec.rb
model_base_generators-0.4.0 examples/rails-5.1/spec/requests/projects_spec.rb