Sha256: 9ec0bb3ad052aff9b22da45669a5fa534fb8c580bed510487dba1ebf79b1e982

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

require 'spec_helper'

describe "Security." do
  before { Alchemy::Page.root.children.destroy_all }

  context "If user is not logged in" do
    it "should see login form" do
      visit '/admin/dashboard'
      expect(current_path).to eq(Alchemy.login_path)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy_cms-3.1.0.beta3 spec/features/security_spec.rb
alchemy_cms-3.1.0.beta2 spec/features/security_spec.rb
alchemy_cms-3.1.0.beta1 spec/features/security_spec.rb