# File tests/drivers/mock/hardware_profiles_test.rb, line 96 def test_it_returns_error_on_wrong_name get_url '/api/hardware_profiles/m1-unknown-wrongname', {}, { :format => :html } last_response.status.should == 404 get_auth_url '/api/hardware_profiles/m1-unknown-wrongname' last_response.status.should == 404 get_url '/api/hardware_profiles/m1-unknown-wrongname', {}, { :format => :json } last_response.status.should == 404 end