Sha256: 17c8753ccc34c124f61945a786fc9343282f9bda966ea8ebfc90a984bd96a61a
Contents?: true
Size: 466 Bytes
Versions: 10
Compression:
Stored size: 466 Bytes
Contents
require 'test_helper' class LinkRouterControllerTest < ActionController::TestCase fixtures :service_responses test "index" do service_response = service_responses(:service_response8) get :index, {id: service_response.id} assert_response :redirect assert_redirected_to "http://holding.library.edu/DOCID" end test "error" do assert_raises(ActiveRecord::RecordNotFound) { get :index, {id: "this should throw an error"} } end end
Version data entries
10 entries across 10 versions & 1 rubygems