Browse files

Fix up the build after updating the gems.

  • Loading branch information...
1 parent d524295 commit 82cc699d54f5b07c7bec3a39d70e5ed19cd6a91e @lazyatom committed Jul 20, 2012
View
4 pristine_app/soups/system/index.rb
@@ -4,9 +4,9 @@ class Index < Dynasnip
def get(*args)
list = app.soup.all_snips.sort_by { |a| a.updated_at || Time.at(0) }.reverse.map { |snip|
%{<li>{link_to "#{snip.name}"}</li>}
- }
+ }.join
%{<ol id="index">#{list}</ol>}
end
self
-end
+end
View
4 test/core/atom_feed_test.rb
@@ -108,8 +108,8 @@
end
should "allow limiting of the number of snips" do
- stub_app_soup({:name => "a", :content => "x", :kind => "blog"},
- {:name => "b", :content => "x", :kind => "blog"})
+ stub_app_soup({:name => "a", :content => "x", :kind => "blog", :updated_at => (Time.now - 10)},
+ {:name => "b", :content => "x", :kind => "blog", :updated_at => (Time.now - 20)})
feed_xml = app.atom_feed(:domain => "whatever", :matching => {:kind => "blog"}, :count => 1).to_s
feed = Atom::Feed.load_feed(feed_xml)
View
2 test/pristine_app/index_test.rb
@@ -41,4 +41,4 @@
def snip(attributes)
Soup::Snip.new(attributes, nil)
end
-end
+end
View
4 test/pristine_app/test_helper.rb
@@ -14,7 +14,7 @@ module TestHelper
end
Kintama.include TestHelper
-Kintama.include Capybara
+Kintama.include Capybara::DSL
Kintama.setup do
vanilla_setup
@@ -23,4 +23,4 @@ module TestHelper
Kintama.teardown do
vanilla_teardown
-end
+end

0 comments on commit 82cc699

Please sign in to comment.