rails-cache-tags 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,30 +0,0 @@
1
- require "bundler/setup"
2
-
3
- require 'rails'
4
-
5
- require 'active_support/all'
6
- require 'active_support/test_case'
7
- require "active_support/core_ext"
8
- require 'active_support/core_ext/kernel/reporting'
9
- require 'active_support/core_ext/string/encoding'
10
- require 'simplecov'
11
-
12
- silence_warnings do
13
- Encoding.default_internal = "UTF-8"
14
- Encoding.default_external = "UTF-8"
15
- end
16
-
17
- def uses_memcached(test_name)
18
- require 'memcache'
19
- begin
20
- MemCache.new('localhost:11211').stats
21
- yield
22
- rescue MemCache::MemCacheError
23
- $stderr.puts "Skipping #{test_name} tests. Start memcached and try again."
24
- end
25
- end
26
-
27
- ActiveSupport::Deprecation.debug = true
28
-
29
- SimpleCov.start { add_filter 'test' }
30
- require 'rails-cache-tags'