Sha256: d6c27178e6a1c7963a924b683e8ffddc9533efd92ddbd57d038b6a9ba74dbf20
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
require 'assert/factory' module Factory extend Assert::Factory def self.template_json_rendered(view_handler, locals) { 'thing' => { 'id' => view_handler.identifier, 'name' => view_handler.name, 'local1' => locals['local1'] } } end def self.partial_json_rendered(locals) { 'thing' => { 'local1' => locals['local1'] } } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deas-nm-0.1.0 | test/support/factory.rb |