Change single quotes to double quotes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
require 'rails_helper'
|
||||
require "rails_helper"
|
||||
|
||||
describe Management::SessionsController do
|
||||
|
||||
describe 'Sign in' do
|
||||
describe "Sign in" do
|
||||
it "denies access if wrong manager credentials" do
|
||||
allow_any_instance_of(ManagerAuthenticator).to receive(:auth).and_return(false)
|
||||
expect { get :create, login: "nonexistent", clave_usuario: "wrong"}.to raise_error CanCan::AccessDenied
|
||||
@@ -41,7 +41,7 @@ describe Management::SessionsController do
|
||||
end
|
||||
end
|
||||
|
||||
describe 'Sign out' do
|
||||
describe "Sign out" do
|
||||
it "destroys the session data and redirect" do
|
||||
session[:manager] = {user_key: "31415926", date: "20151031135905", login: "JJB033"}
|
||||
session[:document_type] = "1"
|
||||
|
||||
Reference in New Issue
Block a user