Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Dec 19, 2023
1 parent 31554d6 commit bac14aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_hosts
assert_raises(TypeError) { cluster.hosts(Object.new) }
assert_raises(TypeError) { cluster.hosts([1]) }
assert_raises(ArgumentError) { cluster.hosts([]) }
assert_kind_of(Ilios::Cassandra::Cluster, cluster.hosts(['127.0.0.1']))
assert_kind_of(Ilios::Cassandra::Cluster, cluster.hosts([CASSANDRA_HOST]))
end

def test_port
Expand Down Expand Up @@ -61,7 +61,7 @@ def test_connect

assert_raises(Ilios::Cassandra::ConnectError) { cluster.connect }

cluster.hosts(['127.0.0.1'])
cluster.hosts([CASSANDRA_HOST])

assert_kind_of(Ilios::Cassandra::Session, cluster.connect)
end
Expand Down

0 comments on commit bac14aa

Please sign in to comment.