diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-20 13:50:22 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-20 13:50:22 +0100 |
commit | 253ab265207c4e556470e4aa45fc502a5c9480ad (patch) | |
tree | 7a467d1a64dc2723092e89e3ccfb62dbc97fe6a6 /app | |
parent | b640f35621b419ae9b9e621e00a8a055068ce2f4 (diff) |
Adding more tests for helpers
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/atom_builder_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/atom_builder_helper.rb b/app/helpers/atom_builder_helper.rb index 0cfc438ac..40d1119c9 100644 --- a/app/helpers/atom_builder_helper.rb +++ b/app/helpers/atom_builder_helper.rb @@ -3,7 +3,7 @@ module AtomBuilderHelper @account.stream_entries.last ? (@account.updated_at > @account.stream_entries.last.created_at ? @account.updated_at : @account.stream_entries.last.created_at) : @account.updated_at end - def entry(xml, is_root, &block) + def entry(xml, is_root = false, &block) if is_root root_tag(xml, :entry, &block) else |