mirror of
https://github.com/jimeh/redistat.git
synced 2026-02-19 13:26:39 +00:00
renamed hash_label option to label_hash
This commit is contained in:
@@ -28,10 +28,10 @@ describe Redistat::Key do
|
||||
end
|
||||
|
||||
it "should abide to hash_label option" do
|
||||
@key = Redistat::Key.new(@scope, @label, @date, {:depth => :day, :hash_label => true})
|
||||
@key = Redistat::Key.new(@scope, @label, @date, {:depth => :day, :label_hash => true})
|
||||
@key.to_s.should == "#{@scope}/#{@label_hash}:#{@key.date.to_s(:day)}"
|
||||
|
||||
@key = Redistat::Key.new(@scope, @label, @date, {:depth => :day, :hash_label => false})
|
||||
@key = Redistat::Key.new(@scope, @label, @date, {:depth => :day, :label_hash => false})
|
||||
@key.to_s.should == "#{@scope}/#{@label}:#{@key.date.to_s(:day)}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user