Sha256: a10b8b3146b8d1fa4d16d01291bff57dc8335b9160f1d035bf5e104997b91038

Contents?: true

Size: 255 Bytes

Versions: 9

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

class GraphConnectionTest < Minitest::Test
  def test_a_bad_connection
    assert_raises(Redis::CannotConnectError) do
      Redgraph::Graph.new("foobar", url: "redis://localhost:1")
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
redgraph-0.2.3 test/graph_connection_test.rb
redgraph-0.2.2 test/graph_connection_test.rb
redgraph-0.2.1 test/graph_connection_test.rb
redgraph-0.2.0 test/graph_connection_test.rb
redgraph-0.1.4 test/graph_connection_test.rb
redgraph-0.1.3 test/graph_connection_test.rb
redgraph-0.1.2 test/graph_connection_test.rb
redgraph-0.1.1 test/graph_connection_test.rb
redgraph-0.1.0 test/graph_connection_test.rb