Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'test_helper'
- class ObjectsHelperTest < ActionView::TestCase
- test "link_to_archive should return a link linked to archive_object_path" do
- p = Factory(:proposal, :archived => false)
- tag = link_to_archive p
- assert_tag :tag => :a, :attributes => { :href => archive_object_path(p) }
- end
- end
Add Comment
Please, Sign In to add comment