Sha256: d7d2ca720fc54f291f5a93d7eaacc3d69739ea024a25e4f289566aa226afaa7f

Contents?: true

Size: 214 Bytes

Versions: 6

Compression:

Stored size: 214 Bytes

Contents

require 'spec_helper'

describe '#ping' do
  it 'returns "PONG" with no arguments' do
    @redises.ping.should == 'PONG'
  end

  it 'returns the argument' do
    @redises.ping('HELLO').should == 'HELLO'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mock_redis-0.36.0 spec/commands/ping_spec.rb
mock_redis-0.35.0 spec/commands/ping_spec.rb
mock_redis-0.34.0 spec/commands/ping_spec.rb
mock_redis-0.33.0 spec/commands/ping_spec.rb
mock_redis-0.32.0 spec/commands/ping_spec.rb
mock_redis-0.31.0 spec/commands/ping_spec.rb