Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Typus.counters are disabled by default.

Performance killer.
  • Loading branch information...
commit c5ac9bd6bd896b7755db22c84b76e05a73b7f337 1 parent a032a57
@fesplugas fesplugas authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/typus/resources.rb
  2. +1 −1  test/lib/typus/resources_test.rb
View
2  lib/typus/resources.rb
@@ -46,7 +46,7 @@ def self.setup
@@export = ""
mattr_accessor :counters
- @@counters = true
+ @@counters = false
def self.method_missing(*args)
nil
View
2  test/lib/typus/resources_test.rb
@@ -35,7 +35,7 @@ class ResourcesTest < ActiveSupport::TestCase
end
test "counters" do
- assert Typus::Resources.counters
+ assert !Typus::Resources.counters
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.