get :activity, :format => 'atom'
assert_response :success
assert_template 'common/feed.atom.rxml'
+ assert_tag :tag => 'entry', :child => {
+ :tag => 'link',
+ :attributes => {:href => 'http://test.host/issues/11'}}
end
def test_archive
def event_url(options = {})
option = event_options[:url]
if option.is_a?(Proc)
- option.call(self)
+ option.call(self).merge(options)
elsif option.is_a?(Hash)
option.merge(options)
elsif option.is_a?(Symbol)
- send(option)
+ send(option).merge(options)
else
option
end