Finished in 5.715823 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) 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"]>. 12) Failure: test_parse_line(BBMB::TestCustomBehaviorGag) [./test/test_behavior.rb:149]: <{:article_number=>"10009", :article_index=>"1234", :article_l3_p3=>"130.10", :article_pcode=>"2182413", :article_group=>"K24000", :article_ean13=>"7680533620604", :article_l3_q6=>"0", :article_l3_q1=>"1", :article_bsize=>"1", :article_l3_q4=>"36", :article_l3_p6=>"0", :article_l3_p1=>"132.35", :article_l3_p4=>"129.90", :article_main_group=>"K2400", :article_backorder=>"Ja", :article_l3_q2=>"12", :article_mwst=>"0", :article_l3_q5=>"0", :access_list=>"HUM-B", :article_l3_p2=>"131.20", :article_status=>"geaendert", :article_l3_p5=>"0", :supplier_id=>"102", :article_price=>"109.55", :article_descr=>"Cabaser 2 mg 20 Tabl.", :article_l3_q3=>"24"}> expected but was <{:article_number=>"10009", :article_ean13=>"7680533620604", :article_descr=>"Cabaser 2 mg 20 Tabl.", :article_price=>"0", :company_name=>"0"}>. 13) Failure: test_parse_line2(BBMB::TestCustomBehaviorGag) [./test/test_behavior.rb:181]: <{:article_number=>"10000", :article_index=>"1234", :article_l3_p3=>"0", :article_pcode=>"", :article_group=>"K90000", :article_ean13=>"", :article_l3_q6=>"0", :article_l3_q1=>"1", :article_bsize=>"1", :article_l3_q4=>"0", :article_l3_p6=>"0", :article_l3_p1=>"37.55", :article_l3_p4=>"0", :article_main_group=>"K9000", :article_backorder=>nil, :article_l3_q2=>"0", :article_mwst=>"0", :article_l3_q5=>"0", :access_list=>"", :article_l3_p2=>"0", :article_status=>"gesperrt", :article_l3_p5=>"0", :supplier_id=>"102", :article_price=>"37.55", :article_descr=>"Peninject f\374r Caverject", :article_l3_q3=>"0"}> expected but was <{:article_number=>"10000", :article_ean13=>"", :article_descr=>"Peninject f\374r Caverject", :article_price=>"0", :company_name=>"0"}>. 14) Failure: test_update_stock1(BBMB::TestCustomBehaviorGag) [./test/test_behavior.rb:100]: <2> expected but was <0>. 15) Error: test_update_supplier(BBMB::TestCustomBehaviorGag): TypeError: can't convert nil into String ./test/test_behavior.rb:248:in `expand_path' ./test/test_behavior.rb:248:in `test_update_supplier' 16) Error: test_update_user_access(BBMB::TestCustomBehaviorGag): TypeError: can't convert nil into String ./test/test_behavior.rb:217:in `expand_path' ./test/test_behavior.rb:217:in `test_update_user_access' 17) Failure: test_update_users(BBMB::TestCustomBehaviorGag) [./test/test_behavior.rb:208]: <14> expected but was <16>. 18) Error: test_ac(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 19) 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' 20) Error: test_acbarcode(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 21) 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' 22) Error: test_accomp(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 23) 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' 24) Error: test_acnam(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 25) 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' 26) Error: test_acpricealg(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 27) 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' 28) Error: test_acwhs(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 29) 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' 30) Error: test_comp(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 31) 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' 32) Error: test_reseller_export_galdat(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 33) 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' 34) Error: test_write_archive(BBMB::TestGaldatExport): TypeError: can't convert nil into String ./test/test_galdat_export.rb:32:in `expand_path' ./test/test_galdat_export.rb:32:in `setup' 35) 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' 36) Failure: test_delete_archive_order(BBMB::TestHospitalUser) [./test/test_user.rb:522]: Order not included in orders!. expected to not be nil. 37) Failure: test_inject_order_commit_time(BBMB::TestHospitalUser) [./test/test_user.rb:498]: Order not included in orders!. expected to not be nil. 38) Failure: test_recognizes(BBMB::TestHospitalUser) [/home/masa/ywesee/bbmb.ch/src/model/user.rb:130:in `recognizes?' /home/masa/ywesee/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 [] 39) Failure: test_turnaround(BBMB::TestHospitalUser) [./test/test_user.rb:334]: <686.4> expected but was <10.0>. 40) Failure: test_commit(BBMB::TestOrder) [./test/test_order.rb:130]: is not true. 41) Failure: test_statistics(BBMB::TestOrder) [./test/test_order.rb:111]: <[["26.07.2011 16:34", "1311690867", 2, "10002", "Detrusitol Filmtabl. 14x2 mg", "26.82"], ["26.07.2011 16:34", "1311690867", 3, "10006", "Aromasin 25 mg 90 Drag\351es", "2059.20"]]> expected but was <[["26.07.2011 16:34", "1311690867", 2, "10002", "Detrusitol Filmtabl. 14x2 mg", "0.00"], ["26.07.2011 16:34", "1311690867", 3, "10006", "Aromasin 25 mg 90 Drag\351es", "0.00"]]>. 42) Failure: test_resolve_product(BBMB::TestReseller) [./test/test_reseller.rb:186:in `test_resolve_product' ./test/test_reseller.rb:185:in `each' ./test/test_reseller.rb:185:in `test_resolve_product']: expected but was . 43) Failure: test_update_stock_gag(BBMB::TestReseller) [./test/test_reseller.rb:71]: <6> expected but was <17>. 44) Failure: test_pcode(BBMB::TestStock) [./test/test_stock.rb:112]: <["2160363", "2160386"]> expected but was <[]>. 45) Failure: test_resolve(BBMB::TestStock) [./test/test_stock.rb:94]: <"10002"> expected but was <"10001">. 46) Failure: test_search1(BBMB::TestStock) [./test/test_stock.rb:52]: <2> expected but was <0>. 47) Failure: test_search2(BBMB::TestStock) [./test/test_stock.rb:56]: <2> expected but was <0>. 48) Error: test_unavailable(BBMB::TestStock): NoMethodError: undefined method `unavailable' for nil:NilClass ./test/test_stock.rb:98:in `test_unavailable' 49) Failure: test_update_stock_gag(BBMB::TestStock) [./test/test_stock.rb:43]: <6> expected but was <17>. 50) Failure: test_offset(TestValidator) [./test/test_validator.rb:86]: <""> expected but was . 51) Failure: test_utf8(TestValidator) [./test/test_validator.rb:91]: <"\344"> expected but was <"\303\244">. 187 tests, 757 assertions, 24 failures, 27 errors