Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created January 6, 2012 20:37
Show Gist options
  • Save ruprict/1572301 to your computer and use it in GitHub Desktop.
Save ruprict/1572301 to your computer and use it in GitHub Desktop.
TK Errors
Error:
test: Given new Kyck by non-fan and kycker Tags a Team to Kyck and a second Kyck by non-fan with this team tagged to the Kyck should generate User-Tag score increment for non-fan kycker. (UserRelevanceCalculatorTest):
ArgumentError: wrong number of arguments (2 for 1)
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/mocha-0.10.0/lib/mocha/object.rb:90:in `stubs'
/Users/ggoodrich/rb/rails_apps/kyck/Web/test/unit/top_kyck/user_relevance_calculator_test.rb:23:in `block (3 levels) in <class:UserRelevanceCalculatorTest>'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `call'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `block in run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `each'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:391:in `run_all_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:395:in `run_parent_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:379:in `block in create_test_from_should_hash'
2) Error:
test: Given new Kyck by non-fan and kycker Tags a Team to Kyck and a second team is tagged should generate a User-Tag score increment for kycker per tag. (UserRelevanceCalculatorTest):
ArgumentError: wrong number of arguments (2 for 1)
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/mocha-0.10.0/lib/mocha/object.rb:90:in `stubs'
/Users/ggoodrich/rb/rails_apps/kyck/Web/test/unit/top_kyck/user_relevance_calculator_test.rb:23:in `block (3 levels) in <class:UserRelevanceCalculatorTest>'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `call'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `block in run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `each'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:391:in `run_all_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:395:in `run_parent_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:379:in `block in create_test_from_should_hash'
3) Error:
test: Given new Kyck by non-fan and kycker Tags a Team to Kyck and another user has the team favorited should generate User-Kyck score increment for fan based on the fan's strength of interest in the team. (UserRelevanceCalculatorTest):
ArgumentError: wrong number of arguments (2 for 1)
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/mocha-0.10.0/lib/mocha/object.rb:90:in `stubs'
/Users/ggoodrich/rb/rails_apps/kyck/Web/test/unit/top_kyck/user_relevance_calculator_test.rb:23:in `block (3 levels) in <class:UserRelevanceCalculatorTest>'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `call'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `block in run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `each'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:391:in `run_all_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:395:in `run_parent_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:379:in `block in create_test_from_should_hash'
4) Error:
test: Given new Kyck by non-fan and kycker Tags a Team to Kyck should generate User-Tag score increment for non-fan kycker. (UserRelevanceCalculatorTest):
ArgumentError: wrong number of arguments (2 for 1)
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/mocha-0.10.0/lib/mocha/object.rb:90:in `stubs'
/Users/ggoodrich/rb/rails_apps/kyck/Web/test/unit/top_kyck/user_relevance_calculator_test.rb:23:in `block (3 levels) in <class:UserRelevanceCalculatorTest>'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `call'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `block in run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `each'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:381:in `block in create_test_from_should_hash'
5) Error:
test: Given new Kyck by non-fan and kycker Tags a Team to Kyck should generate a User-Kyck score increment for non-fan kycker based on the kycker's strength of interset in the team. (UserRelevanceCalculatorTest):
ArgumentError: wrong number of arguments (2 for 1)
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/mocha-0.10.0/lib/mocha/object.rb:90:in `stubs'
/Users/ggoodrich/rb/rails_apps/kyck/Web/test/unit/top_kyck/user_relevance_calculator_test.rb:23:in `block (3 levels) in <class:UserRelevanceCalculatorTest>'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `call'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:400:in `block in run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `each'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:399:in `run_current_setup_blocks'
/Users/ggoodrich/.rvm/gems/ruby-1.9.2-p290@kyck/gems/shoulda-2.11.3/lib/shoulda/context.rb:381:in `block in create_test_from_should_hash'
26 tests, 26 assertions, 0 failures, 5 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment