mirror of
https://github.com/jimeh/redistat.git
synced 2026-02-19 13:26:39 +00:00
some initial work on Redistat::Event
This commit is contained in:
15
spec/event_spec.rb
Normal file
15
spec/event_spec.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe Redistat::Event do
|
||||
|
||||
before(:each) do
|
||||
@scope = "PageViews"
|
||||
@label = "/about/us"
|
||||
@label_hash = Digest::SHA1.hexdigest(@label)
|
||||
@now = Time.now
|
||||
@event = Redistat::Event.new(@scope, @label, {:views => 1}, @now, {:depth => :hour})
|
||||
end
|
||||
|
||||
it "should initialize properly"
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user