Sha256: 0a0e73a62a9ba0b7b54792e654778d676cd16e586aafd6d3a3188f44abc5c6cc

Contents?: true

Size: 410 Bytes

Versions: 10

Compression:

Stored size: 410 Bytes

Contents

require 'spec/spec_helper'

describe "Sphinx Persistance Connection" do
  before :each do
    @client = Riddle::Client.new("localhost", 9313)
  end
  
  it "should raise errors once already opened" do
    @client.open
    lambda { @client.open }.should raise_error
    @client.close
  end
  
  it "should raise errors if closing when already closed" do
    lambda { @client.close }.should raise_error
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
riddle-1.2.2 spec/functional/persistance_spec.rb
riddle-1.2.1 spec/functional/persistance_spec.rb
riddle-1.2.0 spec/functional/persistance_spec.rb
riddle-1.1.0 spec/functional/persistance_spec.rb
riddle-1.0.12 spec/functional/persistance_spec.rb
riddle-1.0.11 spec/functional/persistance_spec.rb
riddle-1.0.10 spec/functional/persistance_spec.rb
riddle-1.0.9 spec/functional/persistance_spec.rb
riddle-1.0.8 spec/functional/persistance_spec.rb
riddle-1.0.7 spec/functional/persistance_spec.rb