jam-cloud/ruby/spec/jam_ruby/resque/google_analytics_event_spec.rb

52 lines
1.0 KiB
Ruby

require 'spec_helper'
# these tests avoid the use of ActiveRecord and FactoryGirl to do blackbox, non test-instrumented tests
=begin
describe GoogleAnalyticsEvent do
let(:ga) { GoogleAnalyticsEvent.new }
describe "report session participant" do
it "queues job when session participant joins" do
pending
end
end
describe "track session duration" do
it "queues jobs for session duration intervals" do
pending
end
it "stop queueing jobs if session is deleted" do
pending
end
end
describe "track band real session" do
it "queues jobs for band real session tracking" do
pending
end
it "stop queueing jobs if band session is deleted" do
pending
end
it "updates band real session attributes" do
pending
end
end
describe "report band recording" do
it "queues job when first band recording is made" do
pending
end
it "does not queues job when band has a recording already" do
pending
end
end
end
=end