click [ save ]
result: get an alert "asdf could not be deleted"
expected result: the message should be "asdf has been created"
expected result: perhaps the system should ALSO take you to the detail page for that sample type!! (that's not how v2 works, but that's what I would do...)
repro:
go to http://localhost:3000
login
http://localhost:3000/sample_types/new
add a name (e.g., "asdf") and a description
click [ save ] result: get an alert "asdf could not be deleted" expected result: the message should be "asdf has been created" expected result: perhaps the system should ALSO take you to the detail page for that sample type!! (that's not how v2 works, but that's what I would do...)
go back to http://localhost:3000/sample_types result: the sample type is there! (this is correct)