Sha256: 83def01064de5c7af44e5d89aa8f32d6f1913db2d0775cd3f99c563c7a2fa643
Contents?: true
Size: 489 Bytes
Versions: 3
Compression:
Stored size: 489 Bytes
Contents
require 'test_helper' class ConnectionTest < Minitest::Test let(:connection_options) { { :token => 'dummy' } } let(:connection) { Papertrail::Connection.new(connection_options) } def test_start_finish assert_same connection, connection.start assert_nil connection.finish block_args = nil connection.start {|*args| block_args = args} assert_equal [connection], block_args assert_raises { connection.finish } end def test_each_event skip end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
papertrail-0.11.2 | test/connection_test.rb |
papertrail-0.11.1 | test/connection_test.rb |
papertrail-0.11.0 | test/connection_test.rb |