Sha256: 1e3713b5ae521b975b3479a40d46c89d4fedc003be72d6cfe363c81e0e65d28a

Contents?: true

Size: 495 Bytes

Versions: 10

Compression:

Stored size: 495 Bytes

Contents

require "houston/adapters"

Houston::Adapters.define_adapter_namespace "TestAdapter"

module Houston
  module Adapters
    module TestAdapter
      class NoneAdapter
        def self.errors_with_parameters(*args); {}; end
        def self.build(*args); nil; end
        def self.parameters; []; end
      end

      class MockAdapter
        def self.errors_with_parameters(*args); {}; end
        def self.build(*args); nil; end
        def self.parameters; []; end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
houston-core-0.9.2 test/support/houston/adapters/test_adapter.rb
houston-core-0.9.1 test/support/houston/adapters/test_adapter.rb
houston-core-0.9.0 test/support/houston/adapters/test_adapter.rb
houston-core-0.9.0.rc1 test/support/houston/adapters/test_adapter.rb
houston-core-0.8.4 test/support/houston/adapters/test_adapter.rb
houston-core-0.8.3 test/support/houston/adapters/test_adapter.rb
houston-core-0.8.2 test/support/houston/adapters/test_adapter.rb
houston-core-0.8.1 test/support/houston/adapters/test_adapter.rb
houston-core-0.8.0 test/support/houston/adapters/test_adapter.rb
houston-core-0.8.0.pre2 test/support/houston/adapters/test_adapter.rb