spec/features/security_feature_spec.rb in alchemy-devise-3.2.0 vs spec/features/security_feature_spec.rb in alchemy-devise-3.3.0

- old
+ new

@@ -1,14 +1,7 @@ require 'spec_helper' describe "Security: " do - context "If no user is present" do - it "render the signup view" do - visit '/' - expect(current_path).to eq('/admin/signup') - end - end - context "If user is present" do before { allow(Alchemy::User).to receive_messages(:count => 1) } it "a visitor should not be able to signup" do visit '/admin/signup'