frequency 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/frequency.gemspec +1 -1
- data/lib/frequency.rb +1 -1
- data/spec/frequency_spec.rb +10 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/frequency.gemspec
CHANGED
data/lib/frequency.rb
CHANGED
data/spec/frequency_spec.rb
CHANGED
@@ -66,6 +66,16 @@ describe "Frequency" do
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
+
describe "nil" do
|
70
|
+
before do
|
71
|
+
@freq = Frequency.new(nil)
|
72
|
+
end
|
73
|
+
|
74
|
+
it "should be valid" do
|
75
|
+
@freq.plain_text.should == ""
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
69
79
|
describe "sometimes" do
|
70
80
|
before do
|
71
81
|
@freq = Frequency.new("sometimes")
|