Created
April 16, 2013 11:21
-
-
Save Govinda-Fichtner/5395181 to your computer and use it in GitHub Desktop.
This file contains 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
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [1s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
.............................................................F...F....*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*............F....F.... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Searching on fields handles NULLs in concatenated fields | |
Failure/Error: Book.search(:conditions => {:info => 'Night Watch'}).to_a.should == [book] | |
expected: [#<Book id: 1, title: "Night Watch", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-15 12:11:23", updated_at: "2013-04-15 12:11:23">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 1, title: "Night Watch", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-15 12:11:23", updated_at: "2013-04-15 12:11:23">] | |
+[] | |
# ./spec/acceptance/searching_on_fields_spec.rb:45:in `block (2 levels) in <top (required)>' | |
2) Searching with filters limits results by a ranged filter | |
Failure/Error: should == [gods, boys] | |
expected: [#<Book id: 1, title: "American Gods", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-10 12:11:29", updated_at: "2013-04-15 12:11:29">, #<Book id: 2, title: "Anansi Boys", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-12 12:11:29", updated_at: "2013-04-15 12:11:29">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,3 +1,2 @@ | |
-[#<Book id: 1, title: "American Gods", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-10 12:11:29", updated_at: "2013-04-15 12:11:29">, | |
- #<Book id: 2, title: "Anansi Boys", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-12 12:11:29", updated_at: "2013-04-15 12:11:29">] | |
+[] | |
# ./spec/acceptance/searching_with_filters_spec.rb:32:in `block (2 levels) in <top (required)>' | |
3) Sphinx scopes allows calling sphinx scopes from models | |
Failure/Error: Book.by_year(2009).to_a.should == [grave] | |
expected: [#<Book id: 3, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-15 12:11:58", updated_at: "2013-04-15 12:11:58">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 3, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-15 12:11:58", updated_at: "2013-04-15 12:11:58">] | |
+[] | |
# ./spec/acceptance/sphinx_scopes_spec.rb:10:in `block (2 levels) in <top (required)>' | |
4) SQL delta indexing automatically indexes new records | |
Failure/Error: Book.search('Terry Pratchett').to_a.should == [guards] | |
expected: [#<Book id: 1, title: "Guards! Guards!", author: "Terry Pratchett", year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-15 12:12:04", updated_at: "2013-04-15 12:12:04">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 1, title: "Guards! Guards!", author: "Terry Pratchett", year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-15 12:12:04", updated_at: "2013-04-15 12:12:04">] | |
+[] | |
# ./spec/acceptance/sql_deltas_spec.rb:10:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 3.66 seconds | |
130 examples, 4 failures, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/searching_on_fields_spec.rb:41 # Searching on fields handles NULLs in concatenated fields | |
rspec ./spec/acceptance/searching_with_filters_spec.rb:21 # Searching with filters limits results by a ranged filter | |
rspec ./spec/acceptance/sphinx_scopes_spec.rb:4 # Sphinx scopes allows calling sphinx scopes from models | |
rspec ./spec/acceptance/sql_deltas_spec.rb:4 # SQL delta indexing automatically indexes new records | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [126s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
...F..................................................................*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.F..F................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Accessing attributes directly via search results provides direct access to the search weight/relevance scores | |
Failure/Error: search.first.weight.should == 3500 | |
NoMethodError: | |
undefined method `weight' for nil:NilClass | |
# ./spec/acceptance/attribute_access_spec.rb:21:in `block (2 levels) in <top (required)>' | |
2) Sorting search results sorts by a given clause | |
Failure/Error: Book.search(:order => 'year ASC').to_a.should == [gods, boys, grave] | |
expected: [#<Book id: 1, title: "American Gods", author: nil, year: 2001, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:01", updated_at: "2013-04-16 08:16:01">, #<Book id: 3, title: "Anansi Boys", author: nil, year: 2005, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:01", updated_at: "2013-04-16 08:16:01">, #<Book id: 2, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:01", updated_at: "2013-04-16 08:16:01">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,4 +1,2 @@ | |
-[#<Book id: 1, title: "American Gods", author: nil, year: 2001, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:01", updated_at: "2013-04-16 08:16:01">, | |
- #<Book id: 3, title: "Anansi Boys", author: nil, year: 2005, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:01", updated_at: "2013-04-16 08:16:01">, | |
- #<Book id: 2, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:01", updated_at: "2013-04-16 08:16:01">] | |
+[] | |
# ./spec/acceptance/sorting_search_results_spec.rb:10:in `block (2 levels) in <top (required)>' | |
3) Sorting search results can sort with a provided expression | |
Failure/Error: ).to_a.should == [boys, grave, gods] | |
expected: [#<Book id: 3, title: "Anansi Boys", author: nil, year: 2005, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:03", updated_at: "2013-04-16 08:16:03">, #<Book id: 2, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:03", updated_at: "2013-04-16 08:16:03">, #<Book id: 1, title: "American Gods", author: nil, year: 2001, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:03", updated_at: "2013-04-16 08:16:03">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,4 +1,2 @@ | |
-[#<Book id: 3, title: "Anansi Boys", author: nil, year: 2005, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:03", updated_at: "2013-04-16 08:16:03">, | |
- #<Book id: 2, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:03", updated_at: "2013-04-16 08:16:03">, | |
- #<Book id: 1, title: "American Gods", author: nil, year: 2001, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:16:03", updated_at: "2013-04-16 08:16:03">] | |
+[] | |
# ./spec/acceptance/sorting_search_results_spec.rb:39:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 3.79 seconds | |
130 examples, 3 failures, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/attribute_access_spec.rb:14 # Accessing attributes directly via search results provides direct access to the search weight/relevance scores | |
rspec ./spec/acceptance/sorting_search_results_spec.rb:4 # Sorting search results sorts by a given clause | |
rspec ./spec/acceptance/sorting_search_results_spec.rb:31 # Sorting search results can sort with a provided expression | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [127s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
......................................................................*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Finished in 2 minutes 4.24 seconds | |
130 examples, 0 failures, 2 pending | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [127s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
......................................................................*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*.............F........ | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Sphinx scopes allows scopes to return both query and options | |
Failure/Error: Book.by_query_and_year('Graveyard', 2009).to_a.should == [grave] | |
expected: [#<Book id: 3, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:24:34", updated_at: "2013-04-16 08:24:34">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 3, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:24:34", updated_at: "2013-04-16 08:24:34">] | |
+[] | |
# ./spec/acceptance/sphinx_scopes_spec.rb:19:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 4.38 seconds | |
130 examples, 1 failure, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/sphinx_scopes_spec.rb:13 # Sphinx scopes allows scopes to return both query and options | |
~/workspace/thinking-sphinx master ✗ ➤ mvim [127s] | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [0s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
......................................................................*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Finished in 2 minutes 22.45 seconds | |
130 examples, 0 failures, 2 pending | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [145s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
............................................................F......F..*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Searching on fields returns results with matches from concatenated columns in a field | |
Failure/Error: should == [book] | |
expected: [#<Book id: 1, title: "Night Watch", author: "Terry Pratchett", year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:47:43", updated_at: "2013-04-16 08:47:43">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 1, title: "Night Watch", author: "Terry Pratchett", year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:47:43", updated_at: "2013-04-16 08:47:43">] | |
+[] | |
# ./spec/acceptance/searching_on_fields_spec.rb:38:in `block (2 levels) in <top (required)>' | |
2) Searching with filters limits results by exclusive filters on arrays of values | |
Failure/Error: Book.search(:without => {:year => [2001, 2005]}).to_a.should == [grave] | |
expected: [#<Book id: 3, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:47:52", updated_at: "2013-04-16 08:47:52">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 3, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 08:47:52", updated_at: "2013-04-16 08:47:52">] | |
+[] | |
# ./spec/acceptance/searching_with_filters_spec.rb:49:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 22.71 seconds | |
130 examples, 2 failures, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/searching_on_fields_spec.rb:33 # Searching on fields returns results with matches from concatenated columns in a field | |
rspec ./spec/acceptance/searching_with_filters_spec.rb:43 # Searching with filters limits results by exclusive filters on arrays of values | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [145s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
............F.........................................................*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Faceted searching handles field facets | |
Failure/Error: } | |
expected: {"Neil Gaiman"=>2, "Terry Pratchett"=>1, "村上 春樹"=>1} | |
got: {} (using ==) | |
Diff: | |
@@ -1,4 +1 @@ | |
-"Neil Gaiman" => 2, | |
-"Terry Pratchett" => 1, | |
-"村上 春樹" => 1 | |
# ./spec/acceptance/facets_spec.rb:44:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 22.46 seconds | |
130 examples, 1 failure, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/facets_spec.rb:35 # Faceted searching handles field facets | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [145s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
......................................................................*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Finished in 2 minutes 22.03 seconds | |
130 examples, 0 failures, 2 pending | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [145s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
.........F.........................................F........F.........*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Accessing excerpts for methods on a search result handles UTF-8 text for excerpts | |
Failure/Error: search.first.excerpts.title. | |
NoMethodError: | |
undefined method `excerpts' for nil:NilClass | |
# ./spec/acceptance/excerpts_spec.rb:23:in `block (2 levels) in <top (required)>' | |
2) Get search result counts returns counts across all models | |
Failure/Error: ThinkingSphinx.count.should == 5 | |
expected: 5 | |
got: 3 (using ==) | |
# ./spec/acceptance/search_counts_spec.rb:16:in `block (2 levels) in <top (required)>' | |
3) Searching on fields returns results with matches from concatenated columns in a field | |
Failure/Error: should == [book] | |
expected: [#<Book id: 1, title: "Night Watch", author: "Terry Pratchett", year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 09:12:22", updated_at: "2013-04-16 09:12:22">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 1, title: "Night Watch", author: "Terry Pratchett", year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 09:12:22", updated_at: "2013-04-16 09:12:22">] | |
+[] | |
# ./spec/acceptance/searching_on_fields_spec.rb:38:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 21.99 seconds | |
130 examples, 3 failures, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/excerpts_spec.rb:16 # Accessing excerpts for methods on a search result handles UTF-8 text for excerpts | |
rspec ./spec/acceptance/search_counts_spec.rb:11 # Get search result counts returns counts across all models | |
rspec ./spec/acceptance/searching_on_fields_spec.rb:33 # Searching on fields returns results with matches from concatenated columns in a field | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [144s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
...F...............................................................F..*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
...F.................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Accessing attributes directly via search results provides direct access to the search weight/relevance scores | |
Failure/Error: search.first.weight.should == 3500 | |
NoMethodError: | |
undefined method `weight' for nil:NilClass | |
# ./spec/acceptance/attribute_access_spec.rb:21:in `block (2 levels) in <top (required)>' | |
2) Searching with filters limits results by exclusive filters on arrays of values | |
Failure/Error: Book.search(:without => {:year => [2001, 2005]}).to_a.should == [grave] | |
expected: [#<Book id: 3, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 09:23:35", updated_at: "2013-04-16 09:23:35">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 3, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 09:23:35", updated_at: "2013-04-16 09:23:35">] | |
+[] | |
# ./spec/acceptance/searching_with_filters_spec.rb:49:in `block (2 levels) in <top (required)>' | |
3) Sorting search results sorts by a given sortable field | |
Failure/Error: Book.search(:order => :title).to_a.should == [gods, boys, grave] | |
NoMethodError: | |
undefined method `unscoped' for Object:Class | |
# ./lib/thinking_sphinx/middlewares/active_record_translator.rb:57:in `block in results_for_models' | |
# ./lib/thinking_sphinx/middlewares/active_record_translator.rb:54:in `each' | |
# ./lib/thinking_sphinx/middlewares/active_record_translator.rb:54:in `inject' | |
# ./lib/thinking_sphinx/middlewares/active_record_translator.rb:54:in `results_for_models' | |
# ./lib/thinking_sphinx/middlewares/active_record_translator.rb:20:in `call' | |
# ./lib/thinking_sphinx/middlewares/active_record_translator.rb:6:in `block in call' | |
# ./lib/thinking_sphinx/middlewares/active_record_translator.rb:5:in `each' | |
# ./lib/thinking_sphinx/middlewares/active_record_translator.rb:5:in `call' | |
# ./lib/thinking_sphinx/middlewares/utf8.rb:10:in `call' | |
# ./lib/thinking_sphinx/middlewares/inquirer.rb:19:in `call' | |
# ./lib/thinking_sphinx/middlewares/geographer.rb:9:in `call' | |
# ./lib/thinking_sphinx/middlewares/sphinxql.rb:13:in `call' | |
# ./lib/thinking_sphinx/middlewares/stale_id_filter.rb:10:in `call' | |
# ./lib/thinking_sphinx/search.rb:65:in `populate' | |
# ./lib/thinking_sphinx/search.rb:89:in `to_a' | |
# ./spec/acceptance/sorting_search_results_spec.rb:28:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 44.58 seconds | |
130 examples, 3 failures, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/attribute_access_spec.rb:14 # Accessing attributes directly via search results provides direct access to the search weight/relevance scores | |
rspec ./spec/acceptance/searching_with_filters_spec.rb:43 # Searching with filters limits results by exclusive filters on arrays of values | |
rspec ./spec/acceptance/sorting_search_results_spec.rb:22 # Sorting search results sorts by a given sortable field | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [167s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
........................................................F.............*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
.....................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Searching across models handles results from different models | |
Failure/Error: ThinkingSphinx.search.to_a.should =~ [article, book] | |
expected collection contained: [#<Article id: 1, title: "Pancakes", content: nil, published: nil, user_id: nil, created_at: "2013-04-16 10:50:30", updated_at: "2013-04-16 10:50:30">, #<Book id: 1, title: "American Gods", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 10:50:30", updated_at: "2013-04-16 10:50:30">] | |
actual collection contained: [#<Article id: 1, title: "Pancakes", content: nil, published: nil, user_id: nil, created_at: "2013-04-16 10:50:30", updated_at: "2013-04-16 10:50:30">] | |
the missing elements were: [#<Book id: 1, title: "American Gods", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 10:50:30", updated_at: "2013-04-16 10:50:30">] | |
# ./spec/acceptance/searching_across_models_spec.rb:26:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 45.13 seconds | |
130 examples, 1 failure, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/searching_across_models_spec.rb:21 # Searching across models handles results from different models | |
~/workspace/thinking-sphinx master ✗ ➤ rspec ./spec/acceptance/ [168s] | |
Run options: include {} | |
All examples were filtered out; ignoring {} | |
.............................................................FF.......*...............Error with statement: REPLACE INTO product_core (id, sphinx_internal_class_name, name, sphinx_internal_id, sphinx_internal_class, sphinx_deleted) VALUES (15, 'Product', 'Widget', 1, 'Product', 0) | |
...F.................*...................... | |
Pending: | |
Searching with filters limits results with MVAs that don't contain all the given values | |
# SphinxQL doesn't yet support OR in its WHERE clause | |
# ./spec/acceptance/searching_with_filters_spec.rb:89 | |
separate queries for MVAs can handle HABTM joins for MVA queries | |
# Efficient HABTM queries are tricky. | |
# ./spec/acceptance/specifying_sql_spec.rb:231 | |
Failures: | |
1) Searching on fields handles NULLs in concatenated fields | |
Failure/Error: Book.search(:conditions => {:info => 'Night Watch'}).to_a.should == [book] | |
expected: [#<Book id: 1, title: "Night Watch", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 11:07:25", updated_at: "2013-04-16 11:07:25">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 1, title: "Night Watch", author: nil, year: nil, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 11:07:25", updated_at: "2013-04-16 11:07:25">] | |
+[] | |
# ./spec/acceptance/searching_on_fields_spec.rb:45:in `block (2 levels) in <top (required)>' | |
2) Searching on fields returns results with matches from file fields | |
Failure/Error: Book.search('cyberpunk').to_a.should == [book] | |
expected: [#<Book id: 1, title: "Accelerando", author: nil, year: nil, blurb_file: "/Users/govinda/workspace/thinking-sphinx/spec/inter...", delta: true, type: "Book", created_at: "2013-04-16 11:07:26", updated_at: "2013-04-16 11:07:26">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-[#<Book id: 1, title: "Accelerando", author: nil, year: nil, blurb_file: "/Users/govinda/workspace/thinking-sphinx/spec/inter...", delta: true, type: "Book", created_at: "2013-04-16 11:07:26", updated_at: "2013-04-16 11:07:26">] | |
+[] | |
# ./spec/acceptance/searching_on_fields_spec.rb:55:in `block (2 levels) in <top (required)>' | |
3) Sorting search results sorts by a given sortable field | |
Failure/Error: Book.search(:order => :title).to_a.should == [gods, boys, grave] | |
expected: [#<Book id: 1, title: "American Gods", author: nil, year: 2001, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 11:08:12", updated_at: "2013-04-16 11:08:12">, #<Book id: 3, title: "Anansi Boys", author: nil, year: 2005, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 11:08:12", updated_at: "2013-04-16 11:08:12">, #<Book id: 2, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 11:08:12", updated_at: "2013-04-16 11:08:12">] | |
got: [] (using ==) | |
Diff: | |
@@ -1,4 +1,2 @@ | |
-[#<Book id: 1, title: "American Gods", author: nil, year: 2001, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 11:08:12", updated_at: "2013-04-16 11:08:12">, | |
- #<Book id: 3, title: "Anansi Boys", author: nil, year: 2005, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 11:08:12", updated_at: "2013-04-16 11:08:12">, | |
- #<Book id: 2, title: "The Graveyard Book", author: nil, year: 2009, blurb_file: nil, delta: true, type: "Book", created_at: "2013-04-16 11:08:12", updated_at: "2013-04-16 11:08:12">] | |
+[] | |
# ./spec/acceptance/sorting_search_results_spec.rb:28:in `block (2 levels) in <top (required)>' | |
Finished in 2 minutes 59.66 seconds | |
130 examples, 3 failures, 2 pending | |
Failed examples: | |
rspec ./spec/acceptance/searching_on_fields_spec.rb:41 # Searching on fields handles NULLs in concatenated fields | |
rspec ./spec/acceptance/searching_on_fields_spec.rb:48 # Searching on fields returns results with matches from file fields | |
rspec ./spec/acceptance/sorting_search_results_spec.rb:22 # Sorting search results sorts by a given sortable field |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment