Sha256: b31c854ec619b7bfaec2f1ce64cafc150d304b0fc55bfee3d39a5bec2f2615cd

Contents?: true

Size: 370 Bytes

Versions: 30

Compression:

Stored size: 370 Bytes

Contents

module LogMacros
  def should_contain_one_log_record
    should "contain a log record" do
      assert_equal 1, @con[@mongodb_logger.mongo_collection_name].count
    end
  end

  def should_use_database_name_in_config
    should "use the database name in the config file" do
      assert_equal "system_log", @mongodb_logger.db_configuration['database']
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
mongodb_logger-0.3.3-jruby test/shoulda_macros/log_macros.rb
mongodb_logger-0.3.3 test/shoulda_macros/log_macros.rb
mongodb_logger-0.3.2-jruby test/shoulda_macros/log_macros.rb
mongodb_logger-0.3.2 test/shoulda_macros/log_macros.rb
mongodb_logger-0.3.1-jruby test/shoulda_macros/log_macros.rb
mongodb_logger-0.3.1 test/shoulda_macros/log_macros.rb
mongodb_logger-0.3.0-jruby test/shoulda_macros/log_macros.rb
mongodb_logger-0.3.0 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.8-jruby test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.8 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.7-jruby test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.7 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.6 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.6-jruby test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.5 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.4 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.3 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.2 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.1 test/shoulda_macros/log_macros.rb
mongodb_logger-0.2.0 test/shoulda_macros/log_macros.rb