# File test/test_wpm_messg_manip.rb, line 146 def test_set_location_with_status @messg_manip.set_location('http://localhost/hello/world', 301) assert_equal(2, @set_header_call) assert_equal(2, @header.size) assert_equal('301 Moved Permanently', @header['Status']) assert_equal('http://localhost/hello/world', @header['Location']) end