appstats 0.19.1 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -173,6 +173,25 @@ module Appstats
173
173
 
174
174
  end
175
175
 
176
+ describe "#context_filter_to_s" do
177
+
178
+ it "should support nil" do
179
+ @sub_result.context_filter_to_s.should == "-- N/A --"
180
+ end
181
+
182
+ it "should support ''" do
183
+ @sub_result.context_filter = ''
184
+ @sub_result.context_filter_to_s.should == "-- No Value --"
185
+ end
186
+
187
+ it "should support arbitrary text" do
188
+ @sub_result.context_filter = 'abc'
189
+ @sub_result.context_filter_to_s.should == "abc"
190
+ end
191
+
192
+
193
+ end
194
+
176
195
 
177
196
  end
178
197
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appstats
3
3
  version: !ruby/object:Gem::Version
4
- hash: 81
4
+ hash: 87
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 19
9
- - 1
10
- version: 0.19.1
9
+ - 2
10
+ version: 0.19.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Forward
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-21 00:00:00 -04:00
18
+ date: 2011-03-30 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency