Changeset [33330aa17ac2ae166e3c9435c8e8596a479ad456] by James Adam
Revision 33330aa17ac2ae166e3c9435c8e8596a479ad456,
committed by James Adam
· July 30th, 2011 @ 02:49 AM
Allow feeds to be restricted to a particular subset of snips.
This sidesteps a deeper issue - not all snips can be rendered
directly. For example, attempting to render the
link_to snip results in an error, and other snips seem
to result in infinite loops. This will be addressed later.
Upgrading to the latest soup gem gives a controlled
mechanism for stubbing the contents of an app soup, which is useful
in this case, although I did spend a lot of time kicking around
until I figured out that I also needed to explicitly add the
contents of the snips I wanted to test in the stubbed soup.
https://github.com/lazyatom/vanilla-rb/commit/33330aa17ac2ae166e3c9...
9 changed files
-
M
Gemfile.lock -
M
Rakefile -
M
lib/vanilla/atom_feed.rb -
M
lib/vanilla/test_helper.rb -
M
pristine_app/soups/base/feed.rb -
M
test/core/atom_feed_test.rb -
M
test/pristine_app/feed_test.rb -
M
test/pristine_app/test_helper.rb -
M
vanilla.gemspec