Sha256: e7128371257193f8b06b9354c55824a18a0e5febba3158041f291b737f4f8daf

Contents?: true

Size: 278 Bytes

Versions: 10

Compression:

Stored size: 278 Bytes

Contents

require 'spec_helper'

describe 'Admin navigation feature' do

  context 'admin users' do
    before { authorize_as_admin }

    it "can leave the admin area" do
      visit ('/admin/leave')
      expect(page).to have_content('You are about to leave Alchemy')
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.1.3 spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.2.0.beta spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.1.1 spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.1.0 spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.1.0.rc3 spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.1.0.rc2 spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.1.0.rc1 spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.1.0.beta6 spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.1.0.beta5 spec/features/admin/navigation_feature_spec.rb
alchemy_cms-3.1.0.beta4 spec/features/admin/navigation_feature_spec.rb