daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Apr 25th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. require 'test_helper'
  2.  
  3. class ObjectsHelperTest < ActionView::TestCase
  4.   test "link_to_archive should return a link linked to archive_object_path" do
  5.     p   = Factory(:proposal, :archived => false)
  6.     tag = link_to_archive p
  7.     assert_tag :tag => :a, :attributes => { :href => archive_object_path(p) }
  8.   end
  9. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top