Sha256: 671e130d1a53d5aa284265ca6884a69103e69732b799c96bbb79906539b3968a

Contents?: true

Size: 381 Bytes

Versions: 13

Compression:

Stored size: 381 Bytes

Contents

require 'rest-core/test'

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

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rest-core-1.0.3 test/test_builder.rb
rest-core-1.0.2 test/test_builder.rb
rest-core-1.0.1 test/test_builder.rb
rest-core-1.0.0 test/test_builder.rb
rest-core-0.8.2 test/test_builder.rb
rest-core-0.8.1 test/test_builder.rb
rest-core-0.8.0 test/test_builder.rb
rest-core-0.7.2 test/test_builder.rb
rest-core-0.7.0 test/test_builder.rb
rest-core-0.4.0 test/test_builder.rb
rest-core-0.4.0.pre.2 test/test_builder.rb
rest-core-0.4.0.pre.1 test/test_builder.rb
rest-core-0.4.0.pre.0 test/test_builder.rb