Sha256: 3d7522cc1070906b9336f8fc373dcf8a36a3ddc7930e73aad15e0dcc90e788b8

Contents?: true

Size: 278 Bytes

Versions: 26

Compression:

Stored size: 278 Bytes

Contents

require 'rails_helper'

RSpec.describe Admin::AdminController, type: :controller do
  let(:user) { create(:user) }

  describe 'GET to dashboard' do
    it 'request to root' do
      sign_in user
      get :root
      expect(response).to have_http_status(302)
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
keppler-2.1.18 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.17 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.16 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.15 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.14 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.13 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.12 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.11 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.10 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.9 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.8 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.7 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.6 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.5 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.4 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.3 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.2 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.1 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1.pre.p1 installer/core/spec/controllers/admin/admin_controller_spec.rb
keppler-2.1 installer/core/spec/controllers/admin/admin_controller_spec.rb