Created
October 20, 2011 15:05
-
-
Save bmishkin/1301377 to your computer and use it in GitHub Desktop.
countrystone cukes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Thu Oct 20 10:34:56 on ttys005 | |
Hobbes-iMac:~ $ cd develop/countrystone/ | |
Hobbes-iMac:countrystone $ git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: app/models/formula.rb | |
# modified: app/models/ingredient.rb | |
# modified: app/models/inventory_adjustment.rb | |
# modified: lib/tasks/database.rake | |
# | |
# Untracked files: | |
# (use "git add <file>..." to include in what will be committed) | |
# | |
# lib/tasks/validate.rake | |
no changes added to commit (use "git add" and/or "git commit -a") | |
Hobbes-iMac:countrystone $ rspec spec | |
No DRb server is running. Running in local process instead ... | |
cleaning out account types | |
Seeding account types... | |
1081/1081: 100% |==========================================| Time: 00:04:26 | |
Pending: | |
SharedMailer add some examples to (or delete) /Volumes/Calvin/Users/bmishkin/develop/countrystone/spec/mailers/shared_mailer_spec.rb | |
# Not Yet Implemented | |
# ./spec/mailers/shared_mailer_spec.rb:4 | |
ShouldReverseAccountPostings after_destroy .rollback_accounting should reverse any credits/debits applied to sales order transactions | |
# Not in use on purchase orders. Put me back when it's in | |
# ./spec/mixins/should_reverse_account_postings_spec.rb:7 | |
ShouldReverseAccountPostings after_destroy .rollback_accounting should reverse any credits/debits applied to sales order transactions | |
# No reason given | |
# ./spec/mixins/should_reverse_account_postings_spec.rb:39 | |
AccountPosting instance functions .bank_account_related? should return true if a posting is for a checking account | |
# No reason given | |
# ./spec/models/account_posting_spec.rb:88 | |
CashSale.create_transactions accounting should have equal debits and credits when delivery price added | |
# Until this is implemented | |
# ./spec/models/cash_sale_spec.rb:132 | |
EdiInboundOrderItem add some examples to (or delete) /Volumes/Calvin/Users/bmishkin/develop/countrystone/spec/models/edi_inbound_order_item_spec.rb | |
# Not Yet Implemented | |
# ./spec/models/edi_inbound_order_item_spec.rb:22 | |
EdiInboundOrder add some examples to (or delete) /Volumes/Calvin/Users/bmishkin/develop/countrystone/spec/models/edi_inbound_order_spec.rb | |
# Not Yet Implemented | |
# ./spec/models/edi_inbound_order_spec.rb:4 | |
ImportCompId add some examples to (or delete) /Volumes/Calvin/Users/bmishkin/develop/countrystone/spec/models/import_comp_id_spec.rb | |
# Not Yet Implemented | |
# ./spec/models/import_comp_id_spec.rb:16 | |
IncomingPayment instance methods single customer per payment logic has_single_customer? should return false if the payment is received from a non-default customer location & the receivable customer locations don't match | |
# this method was trying to do too much | |
# ./spec/models/incoming_payment_spec.rb:150 | |
InventoryProduction callbacks should be/not_be able to destroy if :in_process | |
# No reason given | |
# ./spec/models/inventory_production_spec.rb:212 | |
OutgoingPayment class methods #mass_print_checks should create a temporary PDF file | |
# refactoring | |
# ./spec/models/outgoing_payment_spec.rb:85 | |
PayablePayment validations should only allow a single vendor per payment | |
# No reason given | |
# ./spec/models/payable_payment_spec.rb:37 | |
PrintRecord add some examples to (or delete) /Volumes/Calvin/Users/bmishkin/develop/countrystone/spec/models/print_record_spec.rb | |
# Not Yet Implemented | |
# ./spec/models/print_record_spec.rb:16 | |
Reconciliation class methods #account_postings should return unreconciled account postings with optional date range & bank account | |
# No reason given | |
# ./spec/models/reconciliation_spec.rb:51 | |
SalesOrderItem class methods #get_customer_zone_unit_price should the price for an item + customer + date | |
# WIP | |
# ./spec/models/sales_order_item_spec.rb:104 | |
SalesOrder instance methods.build_transactions accounting for corporation buying from plant (internal sale) should increase corporation's Accounts Payable account for the internal order amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:637 | |
SalesOrder instance methods.build_transactions accounting for corporation buying from plant (internal sale) should increase selling plant's Accounts Receivable account for the internal order amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:641 | |
SalesOrder instance methods.build_transactions accounting for corporation buying from plant (internal sale) should increase corporation's Income account for the item's internal sale net cost | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:645 | |
SalesOrder instance methods.build_transactions accounting for corporation buying from plant (internal sale) should descrease selling plant's finished goods account for the item's cos amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:651 | |
SalesOrder instance methods.build_transactions accounting for corporation buying from plant (internal sale) should increase selling plant's cos account for the item's cos amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:657 | |
SalesOrder instance methods.build_transactions accounting for corporation buying from plant (internal sale) should increase selling plant's cos account for the item's cos amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:663 | |
SalesOrder instance methods.build_transactions accounting for corporation selling to customer (external sale) should increase corporation's Accounts Receivable account for the order amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:671 | |
SalesOrder instance methods.build_transactions accounting for corporation selling to customer (external sale) should increase corporation's Sales Tax Payable account for the tax amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:675 | |
SalesOrder instance methods.build_transactions accounting for corporation selling to customer (external sale) should increase corporation's Discounts account for the discounted amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:679 | |
SalesOrder instance methods.build_transactions accounting for corporation selling to customer (external sale) should increase each inventory item's Income Account by the total line amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:683 | |
SalesOrder instance methods.build_transactions accounting for corporation selling to customer (external sale) should decrease each inventory item's Finished Goods Account by the cos amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:689 | |
SalesOrder instance methods.build_transactions accounting for corporation selling to customer (external sale) should increase each inventory item's Cost of Sale Account by the total cos amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:695 | |
Trucker add some examples to (or delete) /Volumes/Calvin/Users/bmishkin/develop/countrystone/spec/models/trucker_spec.rb | |
# Not Yet Implemented | |
# ./spec/models/trucker_spec.rb:17 | |
Finished in 266.06 seconds | |
1081 examples, 0 failures, 28 pending | |
rspec-rcov kung-fu complete. | |
Hobbes-iMac:countrystone $ cucumber features | |
Using the default profile... | |
cleaning out the test database.... | |
Seeding some basic person and roles data.... | |
Seeding account types... | |
1) | |
undefined method `click' for nil:NilClass (NoMethodError) | |
./features/step_definitions/web_extended_steps.rb:42:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_extended_steps.rb:39:in `/^I select ?(?:the option containing)? "([^\"]*)" from "([^\"]*)" autocomplete$/' | |
features/manage_batch_purchase_orders.feature:22:in `And I select the option containing "InvItem2" from "inventory_item_id[0]" autocomplete' | |
2) | |
expected #has_content?("Created Inventory Item.") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/web_steps.rb:121:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:119:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_inventory_items.feature:162:in `Then I should see "Created Inventory Item."' | |
3) | |
expected #has_no_content?("450") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/web_steps.rb:142:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:140:in `/^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_inventory_productions.feature:46:in `And I should not see "450"' | |
/usr/local/bin/gs -dNOPAUSE -dBATCH -dQUIET -dNOPAGEPROMPT -I/Users/bmishkin/.rvm/gems/ruby-1.9.2-p136@rails3-countrystone-erp/gems/rghost-0.8.7.5/lib/rghost/ps -I/Users/bmishkin/.rvm/gems/ruby-1.9.2-p136@rails3-countrystone-erp/gems/rghost_barcode-0.8/lib/rghost_barcode/ps -sDEVICE=pdfwrite -sstdout=/tmp/checks_10-20-2011.pdf.rgerr -sOutputFile=/tmp/checks_10-20-2011.pdf -dDEVICEWIDTHPOINTS=842 -dDEVICEHEIGHTPOINTS=597 /tmp/checks_10-20-2011.pdf.rgin | |
4) | |
expected #has_content?("3.5") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/web_steps.rb:121:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:119:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_plant_line_timings.feature:44:in `And I should see "3.5"' | |
5) | |
undefined method `click' for nil:NilClass (NoMethodError) | |
./features/step_definitions/web_extended_steps.rb:42:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_extended_steps.rb:39:in `/^I select ?(?:the option containing)? "([^\"]*)" from "([^\"]*)" autocomplete$/' | |
features/manage_purchase_orders.feature:39:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete' | |
6) | |
undefined method `click' for nil:NilClass (NoMethodError) | |
./features/step_definitions/web_extended_steps.rb:42:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_extended_steps.rb:39:in `/^I select ?(?:the option containing)? "([^\"]*)" from "([^\"]*)" autocomplete$/' | |
features/manage_purchase_orders.feature:49:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete' | |
7) | |
expected #has_content?("InvItem1") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/web_steps.rb:121:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:119:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_purchase_orders.feature:112:in `And I should see "InvItem1"' | |
8) | |
expected #has_content?("Created general journal entry and saved as recurring") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/web_steps.rb:121:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:119:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_recurring_journal_adjustments.feature:26:in `Then I should see "Created general journal entry and saved as recurring"' | |
9) | |
undefined method `click' for nil:NilClass (NoMethodError) | |
./features/step_definitions/web_extended_steps.rb:42:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_extended_steps.rb:39:in `/^I select ?(?:the option containing)? "([^\"]*)" from "([^\"]*)" autocomplete$/' | |
features/manage_recurring_orders.feature:29:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete' | |
10) | |
expected #has_content?("$2.50") to return true, got false (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/web_steps.rb:121:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:119:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_service_payments.feature:38:in `And I should see "$2.50"' | |
11) | |
Validation failed: Name has already been taken (ActiveRecord::RecordInvalid) | |
./features/step_definitions/person_steps.rb:20:in `/^a person "([^"]*)" with password "([^"]*)" and full name "([^"]*)"$/' | |
features/tracks_person.feature:6:in `Given a person "[email protected]" with password "testme" and full name "Whodun It"' | |
3866/3950: 100% |==========================================| Time: 00:13:37 | |
Failing Scenarios: | |
cucumber features/manage_batch_purchase_orders.feature:17 # Scenario: Create batch purchase orders from recurring order | |
cucumber features/manage_inventory_items.feature:149 # Scenario: Create a finished good inventory item with two line production | |
cucumber features/manage_inventory_productions.feature:38 # Scenario: Revise an existing, scheduled inventory production order | |
cucumber features/manage_plant_line_timings.feature:35 # Scenario: Create a new plant line timing (two-line-production) | |
cucumber features/manage_purchase_orders.feature:35 # Scenario: New Purchase Order change Item | |
cucumber features/manage_purchase_orders.feature:45 # Scenario: New Purchase Order total_price calculations with no tax or freight and quantity of 2 | |
cucumber features/manage_purchase_orders.feature:99 # Scenario: Edit a purchase order | |
cucumber features/manage_recurring_journal_adjustments.feature:12 # Scenario: Create a journal adjustment and save as recurring | |
cucumber features/manage_recurring_orders.feature:17 # Scenario: Create a purchase order and save as recurring in one click | |
cucumber features/manage_service_payments.feature:19 # Scenario: Create a stand alone payment | |
cucumber features/tracks_person.feature:14 # Scenario: Person tracked when creating a purchase order | |
342 scenarios (11 failed, 10 pending, 321 passed) | |
3957 steps (11 failed, 84 skipped, 10 pending, 3852 passed) | |
13m37.724s | |
Hobbes-iMac:countrystone $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment