Finished in 5.456444 seconds. 1) Error: test_create_hospital(BBMB::TestBbmbAppAdmin): NoMethodError: undefined method `email' for nil:NilClass ./test/test_bbmbapp.rb:328:in `setup' 2) Error: test_generate_password(BBMB::TestBbmbAppAdmin): NoMethodError: undefined method `email' for nil:NilClass ./test/test_bbmbapp.rb:328:in `setup' 3) Error: test_save_hospital(BBMB::TestBbmbAppAdmin): NoMethodError: undefined method `email' for nil:NilClass ./test/test_bbmbapp.rb:328:in `setup' 4) Error: test_dont_send_empty_order(BBMB::TestBbmbAppHospital): NoMethodError: undefined method `email' for nil:NilClass ./test/test_bbmbapp.rb:461:in `setup' 5) Error: test_keep_price(BBMB::TestBbmbAppHospital): NoMethodError: undefined method `email' for nil:NilClass ./test/test_bbmbapp.rb:461:in `setup' 6) Error: test_send_order(BBMB::TestBbmbAppHospital): NoMethodError: undefined method `email' for nil:NilClass ./test/test_bbmbapp.rb:461:in `setup' 7) Failure: test_create_admin(BBMB::TestBbmbAppLoggedIn) [./test/test_bbmbapp.rb:201]: not logged in. is not true. 8) Failure: test_duplicate_email1(BBMB::TestBbmbAppLoggedIn) [./test/test_bbmbapp.rb:278]: not logged in. is not true. 9) Failure: test_duplicate_email2(BBMB::TestBbmbAppLoggedIn) [./test/test_bbmbapp.rb:289]: not logged in. is not true. 10) Failure: test_save_admin(BBMB::TestBbmbAppLoggedIn) [./test/test_bbmbapp.rb:249]: not logged in. is not true. 11) Error: test_file_written(BBMB::TestCustomBehaviorGag): Errno::ENOENT: No such file or directory - /home/masa/work/bbmb.ch/test/data/remote /home/masa/work/bbmb.ch/src/util/dirhandler.rb:31:in `open' /home/masa/work/bbmb.ch/src/util/dirhandler.rb:31:in `foreach' /home/masa/work/bbmb.ch/src/util/dirhandler.rb:31:in `files' ./test/test_behavior.rb:400:in `test_file_written' 12) Failure: test_make_statistics_export(BBMB::TestCustomBehaviorGag) [./test/test_behavior.rb:448]: <["100;100;12.34", "100;100;56.78", "100;100;90.12", "100;100;34.56", "100;100;78.90", "101;101;12.34", "101;101;56.78", "101;101;90.12", "101;101;34.56", "101;101;78.90", "99;99;12.34", "99;99;56.78", "99;99;90.12", "99;99;34.56", "99;99;78.90", "Total Umsatz;;;;;818.10", "Umsatzbeteiligung exkl. MwSt.;;;;;0.82", "MwSt. (7.6%);;;;;0.06", "Umsatzbeteiligung inkl. MwSt. (7.6%);;;;;0.88"]> expected but was <["100;100;12.34", "100;100;56.78", "100;100;90.12", "100;100;34.56", "100;100;78.90", "101;101;12.34", "101;101;56.78", "101;101;90.12", "101;101;34.56", "101;101;78.90", "99;99;12.34", "99;99;56.78", "99;99;90.12", "99;99;34.56", "99;99;78.90", "Total Umsatz;;;;;818.10", "Umsatzbeteiligung exkl. MwSt.;;;;;0.82", "MwSt. (8.0%);;;;;0.01", "Umsatzbeteiligung inkl. MwSt. (8.0%);;;;;0.82"]>. 13) Error: test_update_group_access(BBMB::TestCustomBehaviorGag): NoMethodError: undefined method `size' for nil:NilClass ./test/test_behavior.rb:241:in `test_update_group_access' 14) Failure: test_update_stock(BBMB::TestCustomBehaviorGag) [./test/test_behavior.rb:88]: expected but was . 15) Failure: test_update_stock1(BBMB::TestCustomBehaviorGag) [./test/test_behavior.rb:100]: <2> expected but was <0>. 16) Error: test_update_supplier(BBMB::TestCustomBehaviorGag): NoMethodError: undefined method `size' for nil:NilClass ./test/test_behavior.rb:255:in `test_update_supplier' 17) Failure: test_update_user_access(BBMB::TestCustomBehaviorGag) [./test/test_behavior.rb:224]: expected to be an instance of but was . 18) Error: test_update_users(BBMB::TestCustomBehaviorGag): NoMethodError: undefined method `size' for nil:NilClass ./test/test_behavior.rb:208:in `test_update_users' 19) Error: test_ac(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 20) Error: test_ac(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 21) Error: test_acbarcode(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 22) Error: test_acbarcode(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 23) Error: test_accomp(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 24) Error: test_accomp(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 25) Error: test_acnam(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 26) Error: test_acnam(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 27) Error: test_acpricealg(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 28) Error: test_acpricealg(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 29) Error: test_acwhs(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 30) Error: test_acwhs(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 31) Error: test_comp(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 32) Error: test_comp(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 33) Error: test_reseller_export_galdat(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 34) Error: test_reseller_export_galdat(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 35) Error: test_write_archive(BBMB::TestGaldatExport): NoMethodError: undefined method `each' for nil:NilClass /home/masa/work/bbmb.ch/src/model/reseller.rb:161:in `set_suppliers' ./test/test_galdat_export.rb:39:in `setup' 36) Error: test_write_archive(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:54:in `exist?' ./test/test_galdat_export.rb:54:in `teardown' ./test/test_galdat_export.rb:45:in `each' ./test/test_galdat_export.rb:45:in `teardown' 37) Failure: test_delete_archive_order(BBMB::TestHospitalUser) [./test/test_user.rb:520]: <1> expected but was <0>. 38) Failure: test_inject_order(BBMB::TestHospitalUser) [./test/test_user.rb:470]: <1> expected but was <0>. 39) Failure: test_inject_order_commit_time(BBMB::TestHospitalUser) [./test/test_user.rb:496]: <1> expected but was <0>. 40) Failure: test_recognizes(BBMB::TestHospitalUser) [/home/masa/work/bbmb.ch/src/model/user.rb:130:in `recognizes?' /home/masa/work/bbmb.ch/src/model/hospital.rb:244:in `recognizes?' ./test/test_user.rb:714:in `test_recognizes']: wrong method called on Session; expected flavor, was [] 41) Failure: test_repeat_order(BBMB::TestHospitalUser) [./test/test_user.rb:536]: <1> expected but was <0>. 42) Failure: test_review_transfer4(BBMB::TestHospitalUser) [./test/test_user.rb:453]: <28> expected but was <14>. 43) Failure: test_turnaround(BBMB::TestHospitalUser) [./test/test_user.rb:334]: <686.4> expected but was <10>. 44) Failure: test_commit(BBMB::TestOrder) [./test/test_order.rb:130]: is not true. 45) Failure: test_resolve_product(BBMB::TestReseller) [./test/test_reseller.rb:197]: expected but was . 46) Failure: test_offset(TestValidator) [./test/test_validator.rb:86]: <""> expected but was . 47) Failure: test_utf8(TestValidator) [./test/test_validator.rb:91]: <"\344"> expected but was <"\303\244">. 187 tests, 764 assertions, 19 failures, 28 errors