Open hamin opened 13 years ago
I'll look into it. Probably an API change or something.
On Wed, May 11, 2011 at 11:10 AM, hamin < reply@reply.github.com>wrote:
I have a bunch of failing specs when i run hunt's specs. Here's the output
(in /Users/haris.amin/workspace/hunt) Able to load bson_ext version 1.1.5, but >= 1.3.0 is required. ............FFFFFFFFFFFFFFFFFFFF
Failures:
1) Hunt adds searches key to model to store search terms Failure/Error: Note.new.should respond_to(:searches) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:26:in `new'
# ./spec/hunt_spec.rb:26:in`block (2 levels) in <top (required)>'
2) Hunt.search returns query that matches nothing if nil Failure/Error: Note.create(:title => 'Mongo') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:36:in `block (3 levels) in <top (required)>'
3) Hunt.search returns query that matches nothing if blank Failure/Error: Note.create(:title => 'Mongo') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:41:in `block (3 levels) in <top (required)>'
4) Hunt.search chained on scope works Failure/Error: @user = User.create wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:47:in `block (4 levels) in <top (required)>'
5) Hunt.search chained on association works Failure/Error: @user = User.create wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:58:in `block (4 levels) in <top (required)>'
6) Hunt.search with one search term returns plucky query Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
7) Hunt.search with one search term scopes query to searches.default in stemmed terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
8) Hunt.search with one search term does return matched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
9) Hunt.search with one search term does not query unmatched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
10) Hunt.search with multiple search terms returns plucky query Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
11) Hunt.search with multiple search terms scopes query to searches.default in stemmed terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
12) Hunt.search with multiple search terms returns documents that match both terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
13) Hunt.search with multiple search terms returns documents that match any of the terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
14) Hunt.search with multiple search terms does not query unmatched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
15) Hunt Search indexing on one field indexes terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:134:in `block (4 levels) in <top (required)>'
16) Hunt Search indexing on one field indexes terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:134:in `block (4 levels) in <top (required)>'
17) Hunt Search indexing on multiple fields indexes merged terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :body => 'This is my body.') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:152:in `block (4 levels) in <top (required)>'
18) Hunt Search indexing on multiple fields indexes merged terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :body => 'This is my body.') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:152:in `block (4 levels) in <top (required)>'
19) Hunt Search indexing on multiple fields one of which is array key indexes merged terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :tags => %w(mongo nosql)) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:170:in `block (4 levels) in <top (required)>'
20) Hunt Search indexing on multiple fields one of which is array key indexes merged terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :tags => %w(mongo nosql)) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:170:in `block (4 levels) in <top (required)>'
Finished in 0.4711 seconds 32 examples, 20 failures
Reply to this email directly or view it on GitHub: https://github.com/jnunemaker/hunt/issues/2
You must have mistaken recipient
2011/5/12 jnunemaker < reply@reply.github.com>
I'll look into it. Probably an API change or something.
On Wed, May 11, 2011 at 11:10 AM, hamin < reply@reply.github.com>wrote:
I have a bunch of failing specs when i run hunt's specs. Here's the output
(in /Users/haris.amin/workspace/hunt) Able to load bson_ext version 1.1.5, but >= 1.3.0 is required. ............FFFFFFFFFFFFFFFFFFFF
Failures:
1) Hunt adds searches key to model to store search terms Failure/Error: Note.new.should respond_to(:searches) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:26:in `new'
# ./spec/hunt_spec.rb:26:in`block (2 levels) in <top (required)>'
2) Hunt.search returns query that matches nothing if nil Failure/Error: Note.create(:title => 'Mongo') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:36:in `block (3 levels) in <top (required)>'
3) Hunt.search returns query that matches nothing if blank Failure/Error: Note.create(:title => 'Mongo') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:41:in `block (3 levels) in <top (required)>'
4) Hunt.search chained on scope works Failure/Error: @user = User.create wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:47:in `block (4 levels) in <top (required)>'
5) Hunt.search chained on association works Failure/Error: @user = User.create wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:58:in `block (4 levels) in <top (required)>'
6) Hunt.search with one search term returns plucky query Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
7) Hunt.search with one search term scopes query to searches.default in stemmed terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
8) Hunt.search with one search term does return matched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
9) Hunt.search with one search term does not query unmatched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
10) Hunt.search with multiple search terms returns plucky query Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
11) Hunt.search with multiple search terms scopes query to searches.default in stemmed terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
12) Hunt.search with multiple search terms returns documents that match both terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
13) Hunt.search with multiple search terms returns documents that match any of the terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
14) Hunt.search with multiple search terms does not query unmatched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
15) Hunt Search indexing on one field indexes terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:134:in `block (4 levels) in <top (required)>'
16) Hunt Search indexing on one field indexes terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:134:in `block (4 levels) in <top (required)>'
17) Hunt Search indexing on multiple fields indexes merged terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :body => 'This is my body.') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:152:in `block (4 levels) in <top (required)>'
18) Hunt Search indexing on multiple fields indexes merged terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :body => 'This is my body.') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:152:in `block (4 levels) in <top (required)>'
19) Hunt Search indexing on multiple fields one of which is array key indexes merged terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :tags => %w(mongo nosql)) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:170:in `block (4 levels) in <top (required)>'
20) Hunt Search indexing on multiple fields one of which is array key indexes merged terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :tags => %w(mongo nosql)) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:170:in `block (4 levels) in <top (required)>'
Finished in 0.4711 seconds 32 examples, 20 failures
Reply to this email directly or view it on GitHub: https://github.com/jnunemaker/hunt/issues/2
Reply to this email directly or view it on GitHub: https://github.com/jnunemaker/hunt/issues/2#comment_1147063
I have a bunch of failing specs when i run hunt's specs. Here's the output
(in /Users/haris.amin/workspace/hunt) Able to load bson_ext version 1.1.5, but >= 1.3.0 is required. ............FFFFFFFFFFFFFFFFFFFF
Failures:
1) Hunt adds searches key to model to store search terms Failure/Error: Note.new.should respond_to(:searches) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:26:in `new'
2) Hunt.search returns query that matches nothing if nil Failure/Error: Note.create(:title => 'Mongo') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:36:in `block (3 levels) in <top (required)>'
3) Hunt.search returns query that matches nothing if blank Failure/Error: Note.create(:title => 'Mongo') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:41:in `block (3 levels) in <top (required)>'
4) Hunt.search chained on scope works Failure/Error: @user = User.create wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:47:in `block (4 levels) in <top (required)>'
5) Hunt.search chained on association works Failure/Error: @user = User.create wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:58:in `block (4 levels) in <top (required)>'
6) Hunt.search with one search term returns plucky query Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
7) Hunt.search with one search term scopes query to searches.default in stemmed terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
8) Hunt.search with one search term does return matched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
9) Hunt.search with one search term does not query unmatched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:70:in `block (4 levels) in <top (required)>'
10) Hunt.search with multiple search terms returns plucky query Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
11) Hunt.search with multiple search terms scopes query to searches.default in stemmed terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
12) Hunt.search with multiple search terms returns documents that match both terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
13) Hunt.search with multiple search terms returns documents that match any of the terms Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
14) Hunt.search with multiple search terms does not query unmatched documents Failure/Error: @note = Note.create(:title => 'MongoDB is awesome!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:97:in `block (4 levels) in <top (required)>'
15) Hunt Search indexing on one field indexes terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:134:in `block (4 levels) in <top (required)>'
16) Hunt Search indexing on one field indexes terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:134:in `block (4 levels) in <top (required)>'
17) Hunt Search indexing on multiple fields indexes merged terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :body => 'This is my body.') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:152:in `block (4 levels) in <top (required)>'
18) Hunt Search indexing on multiple fields indexes merged terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :body => 'This is my body.') wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:152:in `block (4 levels) in <top (required)>'
19) Hunt Search indexing on multiple fields one of which is array key indexes merged terms on create Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :tags => %w(mongo nosql)) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:170:in `block (4 levels) in <top (required)>'
20) Hunt Search indexing on multiple fields one of which is array key indexes merged terms on update Failure/Error: @note = Note.create(:title => 'Woot for MongoDB!', :tags => %w(mongo nosql)) wrong number of arguments(1 for 0)
./spec/hunt_spec.rb:170:in `block (4 levels) in <top (required)>'
Finished in 0.4711 seconds 32 examples, 20 failures