mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-07 13:20:18 +01:00
make functional tests for context controller run
This commit is contained in:
parent
76340b780c
commit
59a4d5ede0
10 changed files with 225 additions and 182 deletions
12
app/views/contexts/index.atom.builder
Normal file
12
app/views/contexts/index.atom.builder
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
atom_feed do |feed|
|
||||
feed.title(@feed_title)
|
||||
feed.subtitle(@feed_description)
|
||||
feed.updated(@all_contexts.last.updated_at)
|
||||
|
||||
@all_contexts.each do |context|
|
||||
feed.entry(context) do |entry|
|
||||
entry.title(h(context.name))
|
||||
entry.content(context_summary(context, count_undone_todos_phrase(context)), :type => :html)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue