summaryrefslogtreecommitdiff
path: root/test/rss/test_accessor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_accessor.rb')
-rw-r--r--test/rss/test_accessor.rb34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/rss/test_accessor.rb b/test/rss/test_accessor.rb
index 08f565e596..1b92f9d98c 100644
--- a/test/rss/test_accessor.rb
+++ b/test/rss/test_accessor.rb
@@ -6,21 +6,21 @@ require "rss/1.0"
require "rss/2.0"
module RSS
- class TestAccessor < TestCase
-
- def test_date
- channel = Rss::Channel.new
- channel.do_validate = false
- channel.pubDate = nil
- assert_nil(channel.pubDate)
-
- time = Time.now
- channel.pubDate = time
- assert_equal(time, channel.pubDate)
-
- channel.pubDate = nil
- assert_nil(channel.pubDate)
- end
-
- end
+ class TestAccessor < TestCase
+
+ def test_date
+ channel = Rss::Channel.new
+ channel.do_validate = false
+ channel.pubDate = nil
+ assert_nil(channel.pubDate)
+
+ time = Time.now
+ channel.pubDate = time
+ assert_equal(time, channel.pubDate)
+
+ channel.pubDate = nil
+ assert_nil(channel.pubDate)
+ end
+
+ end
end