Sha256: 01c7bc246d514b167a9f82bfc688155288c8d1a48a0f8ff27b687116d5054697
Contents?: true
Size: 822 Bytes
Versions: 1
Compression:
Stored size: 822 Bytes
Contents
require 'helper' class TestStatistics < Test::Unit::TestCase describe "Statistics" do before(:all) do set_api_key end it "retrieve stats" do stats = Statistics.retrieve stats.should respond_to(:total_badges) stats.should respond_to(:total_unanswered) stats.should respond_to(:total_votes) stats.should respond_to(:total_comments) stats.should respond_to(:total_answers) stats.should respond_to(:site) stats.should respond_to(:total_users) stats.should respond_to(:questions_per_minute) stats.should respond_to(:answers_per_minute) stats.should respond_to(:badges_per_minute) stats.should respond_to(:views_per_day) stats.should respond_to(:api_version) stats.should respond_to(:total_accepted) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubyoverflow-1.0.2 | test/test_statistics.rb |