Sha256: 395c85f65a63a9336e2351a523f3ca6d82ea758d0e8e05baac1ee362940e049a

Contents?: true

Size: 366 Bytes

Versions: 8

Compression:

Stored size: 366 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
      expect(@client.ZCOUNT("key", 2, 3)).to eq(@client.zcount("key", 2, 3))
    end

    it "#ZSCORE" do
      expect(@client.ZSCORE("key", 2)).to eq(@client.zscore("key", 2))
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
fakeredis-0.9.2 spec/upcase_method_name_spec.rb
fakeredis-0.9.1 spec/upcase_method_name_spec.rb
fakeredis-0.9.0 spec/upcase_method_name_spec.rb
fakeredis-0.8.0 spec/upcase_method_name_spec.rb
fakeredis-0.7.0 spec/upcase_method_name_spec.rb
kuende-fakeredis-0.10.0 spec/upcase_method_name_spec.rb
fakeredis-0.6.0 spec/upcase_method_name_spec.rb
kuende-fakeredis-0.6.0 spec/upcase_method_name_spec.rb