pat-maddox-twinkies 0.1.2 → 0.1.3
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.
- data/VERSION.yml +1 -1
- data/lib/ext/date_time.rb +2 -2
- data/lib/twinkies/server.rb +1 -1
- data/spec/date_time_spec.rb +4 -4
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/ext/date_time.rb
CHANGED
data/lib/twinkies/server.rb
CHANGED
data/spec/date_time_spec.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/spec_helper'
|
2
2
|
|
3
|
-
describe DateTime, "#
|
4
|
-
it "should print 'Day, dd Mon 2009 01:23:45" do
|
5
|
-
DateTime.parse('1/9/2009 3:45pm').
|
6
|
-
should == 'Fri, 09 Jan 2009 15:45:00'
|
3
|
+
describe DateTime, "#rfc822" do
|
4
|
+
it "should print 'Day, dd Mon 2009 01:23:45 +0000" do
|
5
|
+
DateTime.parse('1/9/2009 3:45pm').rfc822.
|
6
|
+
should == 'Fri, 09 Jan 2009 15:45:00 +0000'
|
7
7
|
end
|
8
8
|
end
|