Sha256: 6baf5824fa1fdd3ea26d3b6d7ab52a40a2451cafa3b6cded20a0b2152b235df3

Contents?: true

Size: 315 Bytes

Versions: 18

Compression:

Stored size: 315 Bytes

Contents

module Vedeu

  module RepositoryTestModule

    extend self

    # The real repository stores the model and returns it.
    def store(model)
      model
    end

    private

    # A storage solution that uses memory to persist models.
    def in_memory
      {}
    end

  end # RepositoryTestModule

end # Vedeu

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
vedeu-0.4.16 test/support/helpers/repository_test_module.rb
vedeu-0.4.15 test/support/helpers/repository_test_module.rb
vedeu-0.4.14 test/support/helpers/repository_test_module.rb
vedeu-0.4.13 test/support/helpers/repository_test_module.rb
vedeu-0.4.12 test/support/helpers/repository_test_module.rb
vedeu-0.4.11 test/support/helpers/repository_test_module.rb
vedeu-0.4.10 test/support/helpers/repository_test_module.rb
vedeu-0.4.9 test/support/helpers/repository_test_module.rb
vedeu-0.4.8 test/support/helpers/repository_test_module.rb
vedeu-0.4.7 test/support/helpers/repository_test_module.rb
vedeu-0.4.6 test/support/helpers/repository_test_module.rb
vedeu-0.4.5 test/support/helpers/repository_test_module.rb
vedeu-0.4.4 test/support/helpers/repository_test_module.rb
vedeu-0.4.3 test/support/helpers/repository_test_module.rb
vedeu-0.4.2 test/support/helpers/repository_test_module.rb
vedeu-0.4.1 test/support/helpers/repository_test_module.rb
vedeu-0.4.0 test/support/helpers/repository_test_module.rb
vedeu-0.3.5 test/support/helpers/repository_test_module.rb