Skip to content

Commit

Permalink
authentication now happens at initialization, not later
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Dec 20, 2013
1 parent 3b6f990 commit 5800db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module Neography
end

it "does requests with authentication" do
connection.client.should_receive(:set_auth).with(
connection.client.should_not_receive(:set_auth).with(
"http://localhost:7474/db/data/foo/bar",
"foo",
"bar") { double.as_null_object }
Expand Down

0 comments on commit 5800db7

Please sign in to comment.