Sha256: c7c563ce3dfcdb649937fda85525c844fb244d3b373dc164bb36c2066fda38c8

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

module LogMacros
  def should_contain_one_log_record
    should "contain a log record" do
      assert_equal 1, @collection.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

3 entries across 3 versions & 1 rubygems

Version Path
mongodb_logger-0.4.2 test/shoulda_macros/log_macros.rb
mongodb_logger-0.4.1 test/shoulda_macros/log_macros.rb
mongodb_logger-0.4.0 test/shoulda_macros/log_macros.rb