From fa4f5811de85273daa8b1d8f3bb347a9e5f3b73a Mon Sep 17 00:00:00 2001
Message-Id: fa4f5811de85273daa8b1d8f3bb347a9e5f3b73a.1396427308.git.rowan@rowanthorpe.com In-Reply-To: 01dd956a5ffbc0cdeffbcc62fc190695baa049f2.1396340195.git.rowan@rowanthorpe.com References: 01dd956a5ffbc0cdeffbcc62fc190695baa049f2.1396340195.git.rowan@rowanthorpe.com From: Rowan Thorpe rowan@rowanthorpe.com Date: Wed, 2 Apr 2014 11:25:25 +0300 Subject: [PATCH] Change a couple of wrongly copied vars in coquelicot_spec To: coquelicot@potager.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.9.1"
This is a multi-part message in MIME format. --------------1.9.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
--- spec/coquelicot_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
--------------1.9.1 Content-Type: text/x-patch; name="0001-Change-a-couple-of-wrongly-copied-vars-in-coquelicot.patch" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="0001-Change-a-couple-of-wrongly-copied-vars-in-coquelicot.patch"
diff --git a/spec/coquelicot_spec.rb b/spec/coquelicot_spec.rb index 9022aff..a92abaf 100644 --- a/spec/coquelicot_spec.rb +++ b/spec/coquelicot_spec.rb @@ -350,8 +350,8 @@ PART end
it "should try to login to the LDAP server when using AJAX" do - imap = stub('Net::LDAP').as_null_object - imap.should_receive(:login).with('user', 'password') + ldap = stub('Net::LDAP').as_null_object + ldap.should_receive(:login).with('user', 'password') Net::LDAP.should_receive(:new).with('example.org', 636, "dc=example, dc=com", :simple_tls, { :method => :anonymous }).and_return(ldap) request "/authenticate", :method => "POST", :xhr => true, :params => { :ldap_user => 'user',
--------------1.9.1--