def assert_translated(msg = nil, &block)
      
      # Enable strict mode to force raising of MissingTranslationData
      Translator.strict_mode(true)
      
      msg ||= "Expected no missing translation keys"
      
      begin
        yield
        # Credtit for running the assertion
        assert(true, msg)
      rescue I18n::MissingTranslationData => e
        # Fail!
        assert_block(build_message(msg, "Exception raised:\n?", e)) {false}
      ensure
        # uninstall strict exception handler
        Translator.strict_mode(false)
      end
        
    end
def assert_translated(msg = nil, &block)
      
      # Enable strict mode to force raising of MissingTranslationData
      Translator.strict_mode(true)
      
      msg ||= "Expected no missing translation keys"
      
      begin
        yield
        # Credtit for running the assertion
        assert(true, msg)
      rescue I18n::MissingTranslationData => e
        # Fail!
        assert_block(build_message(msg, "Exception raised:\n?", e)) {false}
      ensure
        # uninstall strict exception handler
        Translator.strict_mode(false)
      end
        
    end
Assert that within the block there are no missing translation keys.
 This can be used in a more tailored way that the global +strict_mode+

 Example:
   assert_translated do
     str = "Test will fail for #{I18n.t('a_missing_key')}"
   end