Sha256: 883707741069201eaec6a2e8282939841dd5767466a0bf5b2d464c8a7da4dbb8

Contents?: true

Size: 339 Bytes

Versions: 7

Compression:

Stored size: 339 Bytes

Contents

require 'rest-core/test'

describe RC::Builder do
  should 'default app is RestCore::Auto' do
    RC::Builder.client.new.app.class.should.eq RC::Auto
  end

  should 'switch default_engine to RestCore::Dry' do
    builder = RC::Builder.dup
    builder.default_engine = RC::Dry
    builder.client.new.app.class.should.eq RC::Dry
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rest-core-2.1.1 test/test_builder.rb
rest-core-2.1.0 test/test_builder.rb
rest-core-2.0.4 test/test_builder.rb
rest-core-2.0.3 test/test_builder.rb
rest-core-2.0.2 test/test_builder.rb
rest-core-2.0.1 test/test_builder.rb
rest-core-2.0.0 test/test_builder.rb