Sha256: 56655df276849699d7eb97d5a5d69b5ab53ce1964fd7eca0ebda6504d7ce21f5
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
require 'test_helper' class ServeStaticAssets < ActiveSupport::TestCase test "truth" do assert_kind_of Module, RailsStdoutJsonLogging end test "Active Record" do str = "#{Time.now} ActiveRecord logs to stdout" ActiveRecord::Base.logger.info(str) assert_match str, STDOUT.string end test "Action Mailer" do str = "#{Time.now} ActionMailer logs to stdout" ActionMailer::Base.logger.info(str) assert_match str, STDOUT.string end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_stdout_json_logging-0.1.5 | test/rails_stdout_json_logging_test.rb |