Created
April 26, 2011 05:22
-
-
Save mtodd/941828 to your computer and use it in GitHub Desktop.
rake spec.log
This file contains hidden or 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
thinking-sphinx:index-builder-sanitize_sql ruby-1.9.2$ rake spec | |
(in /Users/mtodd/Projects/Contributions/thinking-sphinx) | |
DEPRECATION WARNING: require "activerecord" is deprecated and will be removed in Rails 3. Use require "active_record" instead. (called from <top (required)> at /Users/mtodd/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-2.3.10/lib/activerecord.rb:2) | |
/Users/mtodd/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec "spec/thinking_sphinx/active_record/delta_spec.rb" "spec/thinking_sphinx/active_record/has_many_association_spec.rb" "spec/thinking_sphinx/active_record/scopes_spec.rb" "spec/thinking_sphinx/active_record_spec.rb" "spec/thinking_sphinx/adapters/abstract_adapter_spec.rb" "spec/thinking_sphinx/association_spec.rb" "spec/thinking_sphinx/attribute_spec.rb" "spec/thinking_sphinx/auto_version_spec.rb" "spec/thinking_sphinx/configuration_spec.rb" "spec/thinking_sphinx/context_spec.rb" "spec/thinking_sphinx/core/array_spec.rb" "spec/thinking_sphinx/core/string_spec.rb" "spec/thinking_sphinx/excerpter_spec.rb" "spec/thinking_sphinx/facet_search_spec.rb" "spec/thinking_sphinx/facet_spec.rb" "spec/thinking_sphinx/field_spec.rb" "spec/thinking_sphinx/index/builder_spec.rb" "spec/thinking_sphinx/index/faux_column_spec.rb" "spec/thinking_sphinx/index_spec.rb" "spec/thinking_sphinx/rails_additions_spec.rb" "spec/thinking_sphinx/search_methods_spec.rb" "spec/thinking_sphinx/search_spec.rb" "spec/thinking_sphinx/source_spec.rb" "spec/thinking_sphinx/test_spec.rb" "spec/thinking_sphinx_spec.rb" | |
DEPRECATION WARNING: require "activerecord" is deprecated and will be removed in Rails 3. Use require "active_record" instead. (called from <top (required)> at /Users/mtodd/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-2.3.10/lib/activerecord.rb:2) | |
......................................................................................................................................................FFF..................................................................................F.........................................................................FFF.......................................................................................................................................................ThinkingSphinx::Search.search is deprecated. Please use ThinkingSphinx.search instead. | |
.ThinkingSphinx::Search.search_for_ids is deprecated. Please use ThinkingSphinx.search_for_ids instead. | |
.ThinkingSphinx::Search.search_for_id is deprecated. Please use ThinkingSphinx.search_for_id instead. | |
.ThinkingSphinx::Search.count is deprecated. Please use ThinkingSphinx.count instead. | |
.ThinkingSphinx::Search.facets is deprecated. Please use ThinkingSphinx.facets instead. | |
...............................................................................F.............................................................................................................. | |
Failures: | |
1) ThinkingSphinx::Attribute#is_many? should return true if all associations return true to is_many? | |
Failure/Error: @attribute.send(:is_many?).should be_true | |
Stub "assoc" received unexpected message :to_ary with (no args) | |
# ./lib/thinking_sphinx/property.rb:91:in `flatten' | |
# ./lib/thinking_sphinx/property.rb:91:in `is_many?' | |
# ./spec/thinking_sphinx/attribute_spec.rb:97:in `block (3 levels) in <top (required)>' | |
2) ThinkingSphinx::Attribute#is_many? should return true if one association returns true to is_many? | |
Failure/Error: @attribute.send(:is_many?).should be_true | |
Stub "assoc" received unexpected message :to_ary with (no args) | |
# ./lib/thinking_sphinx/property.rb:91:in `flatten' | |
# ./lib/thinking_sphinx/property.rb:91:in `is_many?' | |
# ./spec/thinking_sphinx/attribute_spec.rb:104:in `block (3 levels) in <top (required)>' | |
3) ThinkingSphinx::Attribute#is_many? should return false if all associations return false to is_many? | |
Failure/Error: @attribute.send(:is_many?).should be_false | |
Stub "assoc" received unexpected message :to_ary with (no args) | |
# ./lib/thinking_sphinx/property.rb:91:in `flatten' | |
# ./lib/thinking_sphinx/property.rb:91:in `is_many?' | |
# ./spec/thinking_sphinx/attribute_spec.rb:112:in `block (3 levels) in <top (required)>' | |
4) ThinkingSphinx::Excerpter should not respond to id | |
Failure/Error: @excerpter.should_not respond_to(:id) | |
expected excerpted value not to respond to :id | |
# ./spec/thinking_sphinx/excerpter_spec.rb:11:in `block (2 levels) in <top (required)>' | |
5) ThinkingSphinx::Field is_many? method should return true if all associations return true to is_many? | |
Failure/Error: @field.send(:is_many?).should be_true | |
Stub "assoc" received unexpected message :to_ary with (no args) | |
# ./lib/thinking_sphinx/property.rb:91:in `flatten' | |
# ./lib/thinking_sphinx/property.rb:91:in `is_many?' | |
# ./spec/thinking_sphinx/field_spec.rb:106:in `block (3 levels) in <top (required)>' | |
6) ThinkingSphinx::Field is_many? method should return true if one association returns true to is_many? | |
Failure/Error: @field.send(:is_many?).should be_true | |
Stub "assoc" received unexpected message :to_ary with (no args) | |
# ./lib/thinking_sphinx/property.rb:91:in `flatten' | |
# ./lib/thinking_sphinx/property.rb:91:in `is_many?' | |
# ./spec/thinking_sphinx/field_spec.rb:113:in `block (3 levels) in <top (required)>' | |
7) ThinkingSphinx::Field is_many? method should return false if all associations return false to is_many? | |
Failure/Error: @field.send(:is_many?).should be_false | |
Stub "assoc" received unexpected message :to_ary with (no args) | |
# ./lib/thinking_sphinx/property.rb:91:in `flatten' | |
# ./lib/thinking_sphinx/property.rb:91:in `is_many?' | |
# ./spec/thinking_sphinx/field_spec.rb:121:in `block (3 levels) in <top (required)>' | |
8) ThinkingSphinx::Search#populate result objects#excerpts should set up the excerpter with the instances and search | |
Failure/Error: ThinkingSphinx::Excerpter.should_receive(:new).with(@search, object) | |
(<ThinkingSphinx::Excerpter (class)>).new([#<Alpha id: nil, name: nil, value: nil, cost: nil>, #<Beta id: nil, name: nil, alpha_id: nil, delta: false>, #<Alpha id: nil, name: nil, value: nil, cost: nil>, #<Beta id: nil, name: nil, alpha_id: nil, delta: false>], #<Alpha id: nil, name: nil, value: nil, cost: nil>) | |
expected: 1 time | |
received: 4 times | |
# ./spec/thinking_sphinx/search_spec.rb:920:in `block (6 levels) in <top (required)>' | |
Finished in 3.78 seconds | |
657 examples, 8 failures | |
rake aborted! | |
ruby -S bundle exec rspec "spec/thinking_sphinx/active_record/delta_spec.rb" "spec/thinking_sphinx/active_record/has_many_association_spec.rb" "spec/thinking_sphinx/active_record/scopes_spec.rb" "spec/thinking_sphinx/active_record_spec.rb" "spec/thinking_sphinx/adapters/abstract_adapter_spec.rb" "spec/thinking_sphinx/association_spec.rb" "spec/thinking_sphinx/attribute_spec.rb" "spec/thinking_sphinx/auto_version_spec.rb" "spec/thinking_sphinx/configuration_spec.rb" "spec/thinking_sphinx/context_spec.rb" "spec/thinking_sphinx/core/array_spec.rb" "spec/thinking_sphinx/core/string_spec.rb" "spec/thinking_sphinx/excerpter_spec.rb" "spec/thinking_sphinx/facet_search_spec.rb" "spec/thinking_sphinx/facet_spec.rb" "spec/thinking_sphinx/field_spec.rb" "spec/thinking_sphinx/index/builder_spec.rb" "spec/thinking_sphinx/index/faux_column_spec.rb" "spec/thinking_sphinx/index_spec.rb" "spec/thinking_sphinx/rails_additions_spec.rb" "spec/thinking_sphinx/search_methods_spec.rb" "spec/thinking_sphinx/search_spec.rb" "spec/thinking_sphinx/source_spec.rb" "spec/thinking_sphinx/test_spec.rb" "spec/thinking_sphinx_spec.rb" failed | |
(See full trace by running task with --trace) | |
thinking-sphinx:index-builder-sanitize_sql ruby-1.9.2$ rake spec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment