Sha256: c520e9809f8704775f87cd20d70432d55f9dc862410fcdafb7372f5b04c5b8d1
Contents?: true
Size: 590 Bytes
Versions: 3
Compression:
Stored size: 590 Bytes
Contents
require 'spec/spec_helper' if Riddle.loaded_version == '0.9.9' describe "Sphinx Status" do before :each do @client = Riddle::Client.new("localhost", 3313) @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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
riddle-1.0.6 | spec/functional/status_spec.rb |
riddle-1.0.5 | spec/functional/status_spec.rb |
riddle-1.0.4 | spec/functional/status_spec.rb |