Sha256: eee8783cea62fa7ae1a15344269c1265a44ac69f213cff450067910669c8fbd8

Contents?: true

Size: 356 Bytes

Versions: 12

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

describe Lcms::Engine::Admin::UsersController do
  let(:user) { create :admin }

  before { sign_in user }

  describe '#index' do
    subject { get :index }
    it { is_expected.to be_successful }
  end

  describe '#new' do
    subject { get :new }
    it { is_expected.to be_successful }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.5.4 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.5.3 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.5.2 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.5.1 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.5.0 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.4.2 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.4.1 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.4.0 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.3.1 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.3.0 spec/controllers/admin/users_controller_spec.rb
lcms-engine-0.2.0 spec/controllers/admin/users_controller_spec.rb