jnunemaker / hunt Goto Github PK
View Code? Open in Web Editor NEWreally simple search for mongomapper
License: MIT License
really simple search for mongomapper
License: MIT License
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:
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)
Hunt.search returns query that matches nothing if nil
Failure/Error: Note.create(:title => 'Mongo')
wrong number of arguments(1 for 0)
Hunt.search returns query that matches nothing if blank
Failure/Error: Note.create(:title => 'Mongo')
wrong number of arguments(1 for 0)
Hunt.search chained on scope works
Failure/Error: @user = User.create
wrong number of arguments(1 for 0)
Hunt.search chained on association works
Failure/Error: @user = User.create
wrong number of arguments(1 for 0)
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)
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)
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)
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)
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)>'
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)>'
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)>'
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)>'
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)>'
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)>'
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)>'
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)>'
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)>'
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)>'
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.