Sha256: 2bdf027a5ce89d4cef04508431cadc7b35cf2005d62a7829fb26f4c801c8e89c
Contents?: true
Size: 490 Bytes
Versions: 4
Compression:
Stored size: 490 Bytes
Contents
require 'minitest_helper' describe SimpleSolrClient::Client do before do @core = TempCore.instance.core('core_basics') end it "creates a new object" do @core.base_url.must_equal "http://localhost:8983/solr" end it "constructs a url with no args" do @core.url.must_equal "http://localhost:8983/solr/#{@core.name}" end it "constructs a URL with args" do @core.url('admin', 'ping').must_equal "http://localhost:8983/solr/#{@core.name}/admin/ping" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
simple_solr_client-0.2.0 | spec/core_basics.rb |
simple_solr_client-0.1.2 | spec/core_basics.rb |
simple_solr_client-0.1.1 | spec/core_basics.rb |
simple_solr_client-0.1.0 | spec/core_basics.rb |