aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/time/rfc822_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/time/rfc822_spec.rb')
-rw-r--r--spec/ruby/library/time/rfc822_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/library/time/rfc822_spec.rb b/spec/ruby/library/time/rfc822_spec.rb
new file mode 100644
index 0000000000..969050d5ac
--- /dev/null
+++ b/spec/ruby/library/time/rfc822_spec.rb
@@ -0,0 +1,7 @@
+require File.expand_path('../../../spec_helper', __FILE__)
+require File.expand_path('../shared/rfc2822', __FILE__)
+require 'time'
+
+describe "Time.rfc822" do
+ it_behaves_like :time_rfc2822, :rfc822
+end