Created
October 10, 2011 20:44
-
-
Save bmishkin/1276474 to your computer and use it in GitHub Desktop.
countrystone tests
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
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) | |
expected false to be true (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/table_steps.rb:23:in `/^I should( not)? see the following table rows?( in any order)?:?$/' | |
features/manage_demand_report.feature:18:in `Then I should see the following table rows in any order:' | |
2) | |
scope '.inventory_production_row' not found on page (Capybara::ElementNotFound) | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_down_time_reasons.feature:46:in `And I follow "Find" within ".inventory_production_row"' | |
3) | |
cannot select option, no option with text 'Cheese' in select box 'inventory_adjustment[unapproved_inventory_postings_attributes][0][plant_id]' (Capybara::ElementNotFound) | |
./features/step_definitions/web_steps.rb:83:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:82:in `/^(?:|I )select "([^"]*)" from "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_inventory_adjustments.feature:53:in `Given I submit an unapproved inventory adjustment for 35 "bricks" at plant "Cheese"' | |
4) | |
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError) | |
[remote server] resource://fxdriver/modules/atoms.js:9280:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:249:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:298:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:313:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:190:in `' | |
./features/step_definitions/web_extended_steps.rb:40: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_journal_adjustments.feature:33:in `And I select the option containing "1 - Main" from "transaction_account_postings_attributes_1_plant_id" autocomplete' | |
5) | |
Unable to find '#<XPath::Union:0x007ff716a16750>' (Capybara::ElementNotFound) | |
./features/step_definitions/web_extended_steps.rb:36:in `/^I select the option containing "([^\"]*)" from "([^\"]*)" autocomplete$/' | |
features/manage_journal_adjustments.feature:53:in `And I select the option containing "1 - Main" from "transaction_account_postings_attributes_1_plant_id" autocomplete' | |
6) | |
Unable to find '#<XPath::Union:0x007ff718a2fc58>' (Capybara::ElementNotFound) | |
./features/step_definitions/web_extended_steps.rb:36:in `/^I select the option containing "([^\"]*)" from "([^\"]*)" autocomplete$/' | |
features/manage_labels.feature:29:in `And I submit an uncommitted production for item "twinkies" at plant "hostess" on line number "77"' | |
/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-10-2011.pdf.rgerr -sOutputFile=/tmp/checks_10-10-2011.pdf -dDEVICEWIDTHPOINTS=842 -dDEVICEHEIGHTPOINTS=597 /tmp/checks_10-10-2011.pdf.rgin | |
7) | |
expected: 2 | |
got: 0 (using ==) (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/web_extended_steps.rb:15:in `/^I should see field "(.+)" (\d+) times?$/' | |
features/manage_packagings.feature:33:in `Then I should see field "select.activator" 2 times' | |
8) | |
cannot fill in, no text field, text area or password field with id, name, or label 'auto_packaging_components_attributes_3_inventory_item_id' found (Capybara::ElementNotFound) | |
./features/step_definitions/web_extended_steps.rb:38:in `/^I select the option containing "([^\"]*)" from "([^\"]*)" autocomplete$/' | |
features/manage_packagings.feature:37:in `And I select the option containing "2 - wrap" from "packaging[components_attributes][3][inventory_item_id]" autocomplete' | |
9) | |
no link with title, id or text 'Confirm' found (Capybara::ElementNotFound) | |
./features/step_definitions/web_steps.rb:35:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_production_variance.feature:13:in `And I follow "Confirm"' | |
debug me846: 68% |============================ | ETA: 00:03:43 | |
10) | |
expected: "partially_received" | |
got: "open" (using ==) (RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/purchase_order_steps.rb:44:in `/^purchase order "([^"]*)" should have status "([^"]*)"$/' | |
features/manage_purchase_order_register.feature:68:in `Then purchase order "1313" should have status "partially_received"' | |
11) | |
Unable to find 'li a:contains('InvItem1')' (Capybara::ElementNotFound) | |
./features/step_definitions/web_extended_steps.rb:40: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' | |
12) | |
Unable to find 'li a:contains('InvItem1')' (Capybara::ElementNotFound) | |
./features/step_definitions/web_extended_steps.rb:40: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:81:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete' | |
13) | |
expected #has_content?("9999") 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_receive_payments.feature:26:in `Then I should see "9999"' | |
14) | |
Timeout::Error (Timeout::Error) | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:126:in `readline' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2200:in `read_new' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1169:in `request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1162:in `block in request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:627:in `start' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160:in `request' | |
./features/step_definitions/web_steps.rb:29:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:28:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_receive_payments.feature:37:in `And I press "Set Filter"' | |
15) | |
expected #has_content?("8888") 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_receive_payments.feature:53:in `Then I should see "8888"' | |
16) | |
Timeout::Error (Timeout::Error) | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:126:in `readline' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2200:in `read_new' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1169:in `request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1162:in `block in request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:627:in `start' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160:in `request' | |
./features/step_definitions/web_steps.rb:29:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:28:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_receive_payments.feature:63:in `And I press "Set Filter"' | |
17) | |
Timeout::Error (Timeout::Error) | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:126:in `readline' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2200:in `read_new' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1169:in `request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1162:in `block in request' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:627:in `start' | |
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160:in `request' | |
./features/step_definitions/web_steps.rb:29:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:28:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_receive_payments.feature:75:in `And I press "Set Filter"' | |
18) | |
Unable to find 'li a:contains('WeBuild')' (Capybara::ElementNotFound) | |
./features/step_definitions/web_extended_steps.rb:40: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_receive_payments.feature:90:in `And I select the option containing "WeBuild" from "Plant" autocomplete' | |
19) | |
Undefined step: "an outgoing payment for $3000 at bank account "CashIsKing" with memo "Payment sent!"" (Cucumber::Undefined) | |
features/manage_reconciliations.feature:11:in `And an outgoing payment for $3000 at bank account "CashIsKing" with memo "Payment sent!"' | |
20) | |
Undefined step: "an outgoing payment for $3000 at bank account "CashIsKing" with memo "Payment sent!"" (Cucumber::Undefined) | |
features/manage_reconciliations.feature:11:in `And an outgoing payment for $3000 at bank account "CashIsKing" with memo "Payment sent!"' | |
21) | |
Undefined step: "an outgoing payment for $3000 at bank account "CashIsKing" with memo "Payment sent!"" (Cucumber::Undefined) | |
features/manage_reconciliations.feature:11:in `And an outgoing payment for $3000 at bank account "CashIsKing" with memo "Payment sent!"' | |
22) | |
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError) | |
[remote server] resource://fxdriver/modules/atoms.js:9280:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:249:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:298:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:313:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:190:in `' | |
./features/step_definitions/web_extended_steps.rb:40: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_journal_adjustments.feature:21:in `And I select the option containing "1 - Main" from "transaction_account_postings_attributes_1_plant_id" autocomplete' | |
23) | |
cannot select option, no option with text 'Cust1 - [DEFAULT] 123 Fake Street' in select box 'Customer location' (Capybara::ElementNotFound) | |
./features/step_definitions/web_steps.rb:83:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:82:in `/^(?:|I )select "([^"]*)" from "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_recurring_orders.feature:42:in `And I select "Cust1 - [DEFAULT] 123 Fake Street" from "Customer location"' | |
24) | |
cannot fill in, no text field, text area or password field with id, name, or label 'auto_intra_order_selling_plant_id' found (Capybara::ElementNotFound) | |
./features/step_definitions/web_extended_steps.rb:38:in `/^I select the option containing "([^\"]*)" from "([^\"]*)" autocomplete$/' | |
features/manage_recurring_orders.feature:63:in `And I select the option containing "3 - Nugget" from "Selling plant" autocomplete' | |
25) | |
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError) | |
[remote server] resource://fxdriver/modules/atoms.js:9280:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:249:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:298:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:313:in `' | |
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111010-3814-1qe2r8a/extensions/[email protected]/components/nsCommandProcessor.js:190:in `' | |
./features/step_definitions/web_steps.rb:83:in `block (2 levels) in <top (required)>' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:82:in `/^(?:|I )select "([^"]*)" from "([^"]*)"(?: within "([^"]*)")?$/' | |
features/manage_session_transaction_logs.feature:20:in `When I literally create a random journal adjustment at corporation "Gooser"' | |
26) | |
expected #has_content?("1313") 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 `block in with_scope' | |
./features/step_definitions/web_steps.rb:14:in `with_scope' | |
./features/step_definitions/web_steps.rb:119:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/' | |
features/send_to_payment.feature:36:in `Then I should see "1313" within "#payable_payment_order_list"' | |
3606/3846: 100% |==========================================| Time: 00:16:58 | |
Failing Scenarios: | |
cucumber features/manage_demand_report.feature:16 # Scenario: Basic report data | |
cucumber features/manage_down_time_reasons.feature:42 # Scenario: Fail to destroy a down time reason | |
cucumber features/manage_inventory_adjustments.feature:52 # Scenario: Approve an Inventory Adjustment | |
cucumber features/manage_journal_adjustments.feature:24 # Scenario: Create a valid Journal Adjustment | |
cucumber features/manage_journal_adjustments.feature:43 # Scenario: When credits and debits are unequal, cannot submit a valid journal entry. | |
cucumber features/manage_labels.feature:17 # Scenario: Create a label on produced goods | |
cucumber features/manage_packagings.feature:30 # Scenario: Adding a component gives another blank one | |
cucumber features/manage_packagings.feature:35 # Scenario: Adding a component to a package | |
cucumber features/manage_production_variance.feature:15 # Scenario: View a zero variance report on the index page | |
cucumber features/manage_purchase_order_register.feature:62 # Scenario: Partially receive purchase order | |
cucumber features/manage_purchase_orders.feature:35 # Scenario: New Purchase Order change Item | |
cucumber features/manage_purchase_orders.feature:70 # Scenario: Create a purchase order | |
cucumber features/manage_receive_payments.feature:19 # Scenario: Receive payment filters (sales order filter test) | |
cucumber features/manage_receive_payments.feature:31 # Scenario: Receive payment filters (only show invoiced sales orders) | |
cucumber features/manage_receive_payments.feature:44 # Scenario: Receive payment filters (customer with default loc selected should all customer orders) | |
cucumber features/manage_receive_payments.feature:57 # Scenario: Pre-select default customer bank account | |
cucumber features/manage_receive_payments.feature:68 # Scenario: Show terms adjusted balances | |
cucumber features/manage_receive_payments.feature:85 # Scenario: Create a received payment | |
cucumber features/manage_recurring_journal_adjustments.feature:12 # Scenario: Create a journal adjustment and save as recurring | |
cucumber features/manage_recurring_orders.feature:37 # Scenario: Create a sales order and save as recurring in one click | |
cucumber features/manage_recurring_orders.feature:57 # Scenario: Create a intra order and save as recurring in one click | |
cucumber features/manage_session_transaction_logs.feature:17 # Scenario: View my own transaction in the log | |
cucumber features/send_to_payment.feature:25 # Scenario: Filters | |
340 scenarios (23 failed, 8 skipped, 1 undefined, 10 pending, 298 passed) | |
3853 steps (23 failed, 240 skipped, 3 undefined, 10 pending, 3577 passed) | |
16m58.913s | |
You can implement step definitions for undefined steps with these snippets: | |
Given /^an outgoing payment for \$(\d+) at bank account "([^"]*)" with memo "([^"]*)"$/ do |arg1, arg2, arg3| | |
pending # express the regexp above with the code you wish you had | |
end |
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
Hobbes-iMac:countrystone $ rspec spec | |
No DRb server is running. Running in local process instead ... | |
cleaning out account types | |
Seeding account types... | |
1) InventoryProduction instance methods .create_label should create a label file and return the label object | |
Failure/Error: File.exists?(ip.create_label.full_path).should be_true | |
comparison of Fixnum with String failed | |
# ./app/mixins/pdf_printer/print_labels.rb:109:in `formatted_description' | |
# ./app/mixins/pdf_printer/print_labels.rb:57:in `generate_file!' | |
# ./app/models/inventory_production.rb:622:in `create_label' | |
# ./spec/models/inventory_production_spec.rb:340:in `block (3 levels) in <top (required)>' | |
2) Label callback methods should generate a label PDF after save | |
Failure/Error: lb.save! | |
comparison of Fixnum with String failed | |
# ./app/mixins/pdf_printer/print_labels.rb:109:in `formatted_description' | |
# ./app/mixins/pdf_printer/print_labels.rb:57:in `generate_file!' | |
# ./spec/models/label_spec.rb:63:in `block (3 levels) in <top (required)>' | |
debug me62: 77% |================================ | ETA: 00:01:00 | |
3) PurchaseOrder instance methods .print_to_pdf should generate a file | |
Failure/Error: path = po.print_to_pdf | |
can't convert nil into String | |
# ./app/mixins/pdf_printer/print_purchase_orders.rb:169:in `print_to_pdf' | |
# ./spec/models/purchase_order_spec.rb:212:in `block (3 levels) in <top (required)>' | |
debug me62: 79% |================================= | ETA: 00:00:55 | |
debug me | |
debug me62: 80% |================================= | ETA: 00:00:52 | |
debug me62: 80% |================================= | ETA: 00:00:53 | |
debug me62: 80% |================================= | ETA: 00:00:53 | |
4) SalesOrder instance methods .print_pick_list_pdf should update record pick list print time | |
Failure/Error: expect { so.print_pick_list_pdf }.to change(so.print_records, :count) | |
can't convert nil into String | |
# ./app/mixins/pdf_printer/print_sales_orders.rb:831:in `print_pick_list_pdf' | |
# ./spec/models/sales_order_spec.rb:393:in `block (4 levels) in <top (required)>' | |
# ./spec/models/sales_order_spec.rb:393:in `block (3 levels) in <top (required)>' | |
5) SalesOrder instance methods .print_ship_ticket_pdf should update record ship ticket print time | |
Failure/Error: expect { so.print_ship_ticket_pdf }.to change(so.print_records, :count) | |
can't convert nil into String | |
# ./app/mixins/pdf_printer/print_sales_orders.rb:852:in `print_ship_ticket_pdf' | |
# ./spec/models/sales_order_spec.rb:399:in `block (4 levels) in <top (required)>' | |
# ./spec/models/sales_order_spec.rb:399:in `block (3 levels) in <top (required)>' | |
6) SalesOrder instance methods .print_invoice_pdf should update record invoice print time | |
Failure/Error: expect { so.print_invoice_pdf }.to change(so.print_records, :count) | |
can't convert nil into String | |
# ./app/mixins/pdf_printer/print_sales_orders.rb:875:in `print_invoice_pdf' | |
# ./spec/models/sales_order_spec.rb:405:in `block (4 levels) in <top (required)>' | |
# ./spec/models/sales_order_spec.rb:405:in `block (3 levels) in <top (required)>' | |
7) SalesOrder instance methods .on_time? should return true if payment_date is neither late nor early | |
Failure/Error: so.on_time?(Date.today).should == true | |
expected: true | |
got: false (using ==) | |
# ./spec/models/sales_order_spec.rb:505:in `block (3 levels) in <top (required)>' | |
1062/1062: 100% |==========================================| Time: 00:05:02 | |
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 | |
# No reason given | |
# ./spec/mixins/should_reverse_account_postings_spec.rb:38 | |
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:162 | |
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:87 | |
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 | |
PrintedCheck .dollar_amount should only return the dollar amount | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:26 | |
PrintedCheck .cent_amount should only return the (rounded) cent amount | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:30 | |
PrintedCheck .amount_in_text should return a text representation of a number | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:35 | |
PrintedCheck .total_amount_in_text should include a decimal representation of cents prefixed by 'and' (ex: and 10/100) | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:42 | |
PrintedCheck .check_date should return today's date if it's a first time print | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:46 | |
PrintedCheck .check_date should return the check_printed_at if the check has been printed before | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:50 | |
PrintedCheck .friendly_check_date should return the check_date in a friendly format | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:56 | |
PrintedCheck .micr_check_number should return the check number surrounded by 'C' characters | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:60 | |
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 should increase corporation's Accounts Receivable account for the order amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:621 | |
SalesOrder instance methods.build_transactions accounting should increase each inventory item's Income Account by the total line amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:625 | |
SalesOrder instance methods.build_transactions accounting should decrease each inventory item's Finished Goods Account by the total line amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:631 | |
SalesOrder instance methods.build_transactions accounting should decrease each inventory item's Cost of Sale Account by the total line amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:637 | |
SalesOrder instance methods.build_transactions accounting should increase corporation's Accounts Receivable account for the order amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:644 | |
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 302.96 seconds | |
1062 examples, 7 failures, 28 pending | |
rspec-rcov kung-fu complete. | |
Hobbes-iMac:countrystone $ |
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
Hobbes-iMac:countrystone $ rspec spec | |
No DRb server is running. Running in local process instead ... | |
cleaning out account types | |
Seeding account types... | |
1) InventoryProduction instance methods .create_label should create a label file and return the label object | |
Failure/Error: File.exists?(ip.create_label.full_path).should be_true | |
comparison of Fixnum with String failed | |
# ./app/mixins/pdf_printer/print_labels.rb:109:in `formatted_description' | |
# ./app/mixins/pdf_printer/print_labels.rb:57:in `generate_file!' | |
# ./app/models/inventory_production.rb:622:in `create_label' | |
# ./spec/models/inventory_production_spec.rb:340:in `block (3 levels) in <top (required)>' | |
2) Label callback methods should generate a label PDF after save | |
Failure/Error: lb.save! | |
comparison of Fixnum with String failed | |
# ./app/mixins/pdf_printer/print_labels.rb:109:in `formatted_description' | |
# ./app/mixins/pdf_printer/print_labels.rb:57:in `generate_file!' | |
# ./spec/models/label_spec.rb:63:in `block (3 levels) in <top (required)>' | |
debug me62: 77% |================================ | ETA: 00:01:00 | |
3) PurchaseOrder instance methods .print_to_pdf should generate a file | |
Failure/Error: path = po.print_to_pdf | |
can't convert nil into String | |
# ./app/mixins/pdf_printer/print_purchase_orders.rb:169:in `print_to_pdf' | |
# ./spec/models/purchase_order_spec.rb:212:in `block (3 levels) in <top (required)>' | |
debug me62: 79% |================================= | ETA: 00:00:55 | |
debug me | |
debug me62: 80% |================================= | ETA: 00:00:52 | |
debug me62: 80% |================================= | ETA: 00:00:53 | |
debug me62: 80% |================================= | ETA: 00:00:53 | |
4) SalesOrder instance methods .print_pick_list_pdf should update record pick list print time | |
Failure/Error: expect { so.print_pick_list_pdf }.to change(so.print_records, :count) | |
can't convert nil into String | |
# ./app/mixins/pdf_printer/print_sales_orders.rb:831:in `print_pick_list_pdf' | |
# ./spec/models/sales_order_spec.rb:393:in `block (4 levels) in <top (required)>' | |
# ./spec/models/sales_order_spec.rb:393:in `block (3 levels) in <top (required)>' | |
5) SalesOrder instance methods .print_ship_ticket_pdf should update record ship ticket print time | |
Failure/Error: expect { so.print_ship_ticket_pdf }.to change(so.print_records, :count) | |
can't convert nil into String | |
# ./app/mixins/pdf_printer/print_sales_orders.rb:852:in `print_ship_ticket_pdf' | |
# ./spec/models/sales_order_spec.rb:399:in `block (4 levels) in <top (required)>' | |
# ./spec/models/sales_order_spec.rb:399:in `block (3 levels) in <top (required)>' | |
6) SalesOrder instance methods .print_invoice_pdf should update record invoice print time | |
Failure/Error: expect { so.print_invoice_pdf }.to change(so.print_records, :count) | |
can't convert nil into String | |
# ./app/mixins/pdf_printer/print_sales_orders.rb:875:in `print_invoice_pdf' | |
# ./spec/models/sales_order_spec.rb:405:in `block (4 levels) in <top (required)>' | |
# ./spec/models/sales_order_spec.rb:405:in `block (3 levels) in <top (required)>' | |
7) SalesOrder instance methods .on_time? should return true if payment_date is neither late nor early | |
Failure/Error: so.on_time?(Date.today).should == true | |
expected: true | |
got: false (using ==) | |
# ./spec/models/sales_order_spec.rb:505:in `block (3 levels) in <top (required)>' | |
1062/1062: 100% |==========================================| Time: 00:05:02 | |
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 | |
# No reason given | |
# ./spec/mixins/should_reverse_account_postings_spec.rb:38 | |
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:162 | |
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:87 | |
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 | |
PrintedCheck .dollar_amount should only return the dollar amount | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:26 | |
PrintedCheck .cent_amount should only return the (rounded) cent amount | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:30 | |
PrintedCheck .amount_in_text should return a text representation of a number | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:35 | |
PrintedCheck .total_amount_in_text should include a decimal representation of cents prefixed by 'and' (ex: and 10/100) | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:42 | |
PrintedCheck .check_date should return today's date if it's a first time print | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:46 | |
PrintedCheck .check_date should return the check_printed_at if the check has been printed before | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:50 | |
PrintedCheck .friendly_check_date should return the check_date in a friendly format | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:56 | |
PrintedCheck .micr_check_number should return the check number surrounded by 'C' characters | |
# No reason given | |
# ./spec/models/printed_check_spec.rb:60 | |
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 should increase corporation's Accounts Receivable account for the order amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:621 | |
SalesOrder instance methods.build_transactions accounting should increase each inventory item's Income Account by the total line amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:625 | |
SalesOrder instance methods.build_transactions accounting should decrease each inventory item's Finished Goods Account by the total line amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:631 | |
SalesOrder instance methods.build_transactions accounting should decrease each inventory item's Cost of Sale Account by the total line amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:637 | |
SalesOrder instance methods.build_transactions accounting should increase corporation's Accounts Receivable account for the order amount | |
# No reason given | |
# ./spec/models/sales_order_spec.rb:644 | |
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 302.96 seconds | |
1062 examples, 7 failures, 28 pending | |
rspec-rcov kung-fu complete. | |
Hobbes-iMac:countrystone $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment