<< | Index | >>
App#create, App#update test case is broken.
Failure: in mock 'app': no matching handler found for create(:!create,:!registration,08537!sequence,01!package,011..) test_update_package__create(ODDB::SwissmedicPluginTest)
Then, Repaired these test method
$ ruby test/test_plugin/swissmedic.rb --name test_update_package__create Finished in 0.019597717 seconds. 1 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed 51.03 tests/s, 102.05 assertions/s $ ruby test/test_plugin/swissmedic.rb --name test_update_package__create__replacement Finished in 0.019788633 seconds. 1 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed 50.53 tests/s, 101.07 assertions/s
swissmedic plugin test.
$ ruby test/test_plugin/swissmedic.rb Finished in 1.054569294 seconds. 66 tests, 146 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed 62.58 tests/s, 138.45 assertions/s
oddb.csv export needs "th_narcotic" header in CSV (without HTML escape sequence).
Then, Update narcotic header in resultlist.