Sha256: a41438c1c77f09cf45f9bdf157be062fd0d58cb5a3b8ca2f8956a62b0c7ea85a
Contents?: true
Size: 540 Bytes
Versions: 27
Compression:
Stored size: 540 Bytes
Contents
require "test_helper" require "active_support/log_subscriber/test_helper" require "cassandra_object/log_subscriber" class CassandraObject::LogSubscriberTest < CassandraObject::TestCase include ActiveSupport::LogSubscriber::TestHelper def setup super CassandraObject::LogSubscriber.attach_to :cassandra_object end def test_cql_notification Issue.execute_cql "SELECT * FROM Issues" wait assert_equal 1, @logger.logged(:debug).size assert_match "SELECT * FROM Issues", @logger.logged(:debug)[0] end end
Version data entries
27 entries across 27 versions & 2 rubygems