As I posted to rails-talk yesterday, I whipped up an Rspec matcher
using the feedvalidator gem, which lets you write
response.should be_valid_feed
in view specs or controller specs which integrate_views
I wrote about it this AM.
http://talklikeaduck.denhaven2.com/articles/2008/02/08/validating-rss-feeds-with-rspec
–
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
I hate to do this because it seems almost sadistic, but I encountered
some borkage in the feed in my Safari (3).
On 2/8/08, Rick DeNatale [email protected] wrote:
–
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
–
Giles B.
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
rykkers
3
Not sure what you’re talking about.
-
My blog is just standard typo, so the code I’m talking about isn’t
involved.
-
The feed on my blog, does indeed validate. Now if Safari has a
problem formating it, it’s not a validation problem.
On 2/8/08, Giles B. [email protected] wrote:
http://talklikeaduck.denhaven2.com/
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
–
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
rykkers
4
Validation doesn’t mean it’s formatted to be readable though, does it?
Nathan S.
[email protected]
rspec 1.1.3
rspec_on_rails 1.1.3
rails 2.0.2
rykkers
5
On 2/8/08, Nathan S. [email protected] wrote:
Validation doesn’t mean it’s formatted to be readable though, does it?
Correct.
And by the way I just looked at my blog’s feed on Safari (3.0.4 on OSX
10.4.11) on my system and it looks just fine.
I suspect that the Giles’ problem might actually lie in Safari/Leopard
–
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
rykkers
6
rykkers
7
My Safari’s 3.0.4 too, OS X 10.5. Weird that it would be the OS but I
guess that’s the case.
On 2/8/08, Rick DeNatale [email protected] wrote:
–
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
–
Giles B.
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com