Sha256: d09c5211d8530c594057e3353de7921a57b2566b38b12296fbe435426f848898

Contents?: true

Size: 272 Bytes

Versions: 11

Compression:

Stored size: 272 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'
      current_path.should == Alchemy.login_path
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 spec/features/security_spec.rb
alchemy_cms-3.0.4 spec/features/security_spec.rb
alchemy_cms-3.0.3 spec/features/security_spec.rb
alchemy_cms-3.0.2 spec/features/security_spec.rb
alchemy_cms-3.0.1 spec/features/security_spec.rb
alchemy_cms-3.0.0 spec/features/security_spec.rb
alchemy_cms-3.0.0.rc8 spec/features/security_spec.rb
alchemy_cms-2.9.0 spec/features/security_spec.rb
alchemy_cms-3.0.0.rc7 spec/features/security_spec.rb
alchemy_cms-3.0.0.rc6 spec/features/security_spec.rb
alchemy_cms-3.0.0.rc5 spec/features/security_spec.rb