Sha256: afea2f8c5f72a15f9851ff1046a17136a434d0bec822c5c9e4d7eda73711dea1

Contents?: true

Size: 339 Bytes

Versions: 7

Compression:

Stored size: 339 Bytes

Contents

require 'assert/factory'

module Factory
  extend Assert::Factory

  def self.template_json_rendered(engine, service_handler, locals)
    { 'thing' => {
        'id' => service_handler.identifier,
        'name' => service_handler.name,
        'local1' => locals['local1'],
        'logger' => engine.logger.to_s
      }
    }
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sanford-nm-0.4.4 test/support/factory.rb
sanford-nm-0.4.3 test/support/factory.rb
sanford-nm-0.4.2 test/support/factory.rb
sanford-nm-0.4.1 test/support/factory.rb
sanford-nm-0.4.0 test/support/factory.rb
sanford-nm-0.3.0 test/support/factory.rb
sanford-nm-0.2.0 test/support/factory.rb