Sha256: 3969064fd1b268a3b1d2a4f1ba1cabd13565d79fcfe86b21694f7e77296d568a
Contents?: true
Size: 620 Bytes
Versions: 5
Compression:
Stored size: 620 Bytes
Contents
require 'spec_helper' if Riddle.loaded_version == '0.9.9' || Riddle.loaded_version == '1.10' describe "Sphinx Status" do before :each do @client = Riddle::Client.new("localhost", 9313) @status = @client.status end it "should return a hash" do @status.should be_a(Hash) end it "should include the uptime, connections, and command_search keys" do # Not checking all values, but ensuring keys are being set correctly @status[:uptime].should_not be_nil @status[:connections].should_not be_nil @status[:command_search].should_not be_nil end end end
Version data entries
5 entries across 5 versions & 1 rubygems