Sha256: c7e26aebfcf26bab4e14123148190ada11c055e27779b8b415e38cd4f6f1f406

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

require 'spec_helper'

module FakeRedis
  describe "UPCASE method name will call downcase method" do

    before do
      @client = Redis.new
    end

    it "#ZCOUNT" do
      @client.ZCOUNT("key", 2, 3).should == @client.zcount("key", 2, 3)
    end

    it "#ZSCORE" do
      @client.ZSCORE("key", 2).should == @client.zscore("key", 2)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fakeredis-0.5.0 spec/upcase_method_name_spec.rb
fakeredis-0.4.3 spec/upcase_method_name_spec.rb