Skip to content

Instantly share code, notes, and snippets.

@mluu510
Created February 15, 2014 23:17
Show Gist options
  • Save mluu510/9026632 to your computer and use it in GitHub Desktop.
Save mluu510/9026632 to your computer and use it in GitHub Desktop.
Failures:
1) Exchange has a company
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/exchange_spec.rb:5:in `block (2 levels) in <top (required)>'
2) Board has a membership
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/board_spec.rb:5:in `block (2 levels) in <top (required)>'
3) Board has a member
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/board_spec.rb:5:in `block (2 levels) in <top (required)>'
4) Board has a company
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/board_spec.rb:5:in `block (2 levels) in <top (required)>'
5) User has watch list items
Failure/Error: setup_wl
ActiveRecord::StatementInvalid:
Could not find table 'companies'
# ./spec/spec_helper.rb:67:in `setup_wl'
# ./spec/models/user_spec.rb:5:in `block (2 levels) in <top (required)>'
6) User can see watched tickers
Failure/Error: setup_wl
ActiveRecord::StatementInvalid:
Could not find table 'companies'
# ./spec/spec_helper.rb:67:in `setup_wl'
# ./spec/models/user_spec.rb:5:in `block (2 levels) in <top (required)>'
7) User has a watch list
Failure/Error: setup_wl
ActiveRecord::StatementInvalid:
Could not find table 'companies'
# ./spec/spec_helper.rb:67:in `setup_wl'
# ./spec/models/user_spec.rb:5:in `block (2 levels) in <top (required)>'
8) WatchList has a watch list item
Failure/Error: setup_wl
ActiveRecord::StatementInvalid:
Could not find table 'companies'
# ./spec/spec_helper.rb:67:in `setup_wl'
# ./spec/models/watch_list_spec.rb:5:in `block (2 levels) in <top (required)>'
9) WatchList has a user
Failure/Error: setup_wl
ActiveRecord::StatementInvalid:
Could not find table 'companies'
# ./spec/spec_helper.rb:67:in `setup_wl'
# ./spec/models/watch_list_spec.rb:5:in `block (2 levels) in <top (required)>'
10) Company has a watch list
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/company_spec.rb:5:in `block (2 levels) in <top (required)>'
11) Company has a watcher
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/company_spec.rb:5:in `block (2 levels) in <top (required)>'
12) Company has an exchange
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/company_spec.rb:5:in `block (2 levels) in <top (required)>'
13) Company has a board
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/company_spec.rb:5:in `block (2 levels) in <top (required)>'
14) Company has a price
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/company_spec.rb:5:in `block (2 levels) in <top (required)>'
15) WatchListItem has a company
Failure/Error: setup_wl
ActiveRecord::StatementInvalid:
Could not find table 'companies'
# ./spec/spec_helper.rb:67:in `setup_wl'
# ./spec/models/watch_list_item_spec.rb:5:in `block (2 levels) in <top (required)>'
16) WatchListItem has a watchlist
Failure/Error: setup_wl
ActiveRecord::StatementInvalid:
Could not find table 'companies'
# ./spec/spec_helper.rb:67:in `setup_wl'
# ./spec/models/watch_list_item_spec.rb:5:in `block (2 levels) in <top (required)>'
17) Price has a company
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/price_spec.rb:5:in `block (2 levels) in <top (required)>'
18) Executive is on a board
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/executive_spec.rb:5:in `block (2 levels) in <top (required)>'
19) Executive has a membership
Failure/Error: setup_company
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/executive_spec.rb:5:in `block (2 levels) in <top (required)>'
20) BoardMembership has a member
Failure/Error: before(:each) { setup_company }
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/board_membership_spec.rb:4:in `block (2 levels) in <top (required)>'
21) BoardMembership has a board
Failure/Error: before(:each) { setup_company }
ActiveRecord::StatementInvalid:
Could not find table 'exchanges'
# ./spec/spec_helper.rb:46:in `setup_company'
# ./spec/models/board_membership_spec.rb:4:in `block (2 levels) in <top (required)>'
Finished in 0.04676 seconds
21 examples, 21 failures
Failed examples:
rspec ./spec/models/exchange_spec.rb:10 # Exchange has a company
rspec ./spec/models/board_spec.rb:14 # Board has a membership
rspec ./spec/models/board_spec.rb:18 # Board has a member
rspec ./spec/models/board_spec.rb:10 # Board has a company
rspec ./spec/models/user_spec.rb:14 # User has watch list items
rspec ./spec/models/user_spec.rb:18 # User can see watched tickers
rspec ./spec/models/user_spec.rb:10 # User has a watch list
rspec ./spec/models/watch_list_spec.rb:14 # WatchList has a watch list item
rspec ./spec/models/watch_list_spec.rb:10 # WatchList has a user
rspec ./spec/models/company_spec.rb:18 # Company has a watch list
rspec ./spec/models/company_spec.rb:23 # Company has a watcher
rspec ./spec/models/company_spec.rb:14 # Company has an exchange
rspec ./spec/models/company_spec.rb:28 # Company has a board
rspec ./spec/models/company_spec.rb:10 # Company has a price
rspec ./spec/models/watch_list_item_spec.rb:14 # WatchListItem has a company
rspec ./spec/models/watch_list_item_spec.rb:10 # WatchListItem has a watchlist
rspec ./spec/models/price_spec.rb:10 # Price has a company
rspec ./spec/models/executive_spec.rb:14 # Executive is on a board
rspec ./spec/models/executive_spec.rb:10 # Executive has a membership
rspec ./spec/models/board_membership_spec.rb:12 # BoardMembership has a member
rspec ./spec/models/board_membership_spec.rb:8 # BoardMembership has a board
Randomized with seed 48400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment