Created
December 10, 2010 12:28
-
-
Save dreamr/736149 to your computer and use it in GitHub Desktop.
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
rake spec:models | |
(in /Users/james/development/clients/blanee) | |
./spec/models/../../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement | |
WARNING: Nokogiri was built against LibXML version 2.7.7, but has dynamically loaded 2.7.3 | |
loading categories and citis | |
load finished | |
Mocha deprecation warning: Mocha::Standalone has been renamed to Mocha::API | |
......................................Ftrue | |
true | |
.......................... | |
1) | |
'Category category behaviors should return the top businesses from the category' FAILED | |
expected: [#<Business id: 11, name: "Business No.3", address1: nil, address2: nil, location_id: 55, phone: nil, fax: nil, web_address: nil, closed: nil, closed_at: nil, note: nil, user_id: nil, created_at: "2010-12-10 12:27:21", updated_at: "2010-12-10 12:27:21", version: 1, published: true, published_version_id: 1, pic_id: nil, delta: true, permalink: "business-no3-marrakech", currently_created: false, creater_id: 11, is_mail_sent: false, pic_count: 0, review_count: 0, review_average_rate: 0.0, lat: 31.6333333, lng: -8.0, neighborhood: nil, google_address: "Marrakesh, Morocco">, #<Business id: 12, name: "Business No.4", address1: nil, address2: nil, location_id: 55, phone: nil, fax: nil, web_address: nil, closed: nil, closed_at: nil, note: nil, user_id: nil, created_at: "2010-12-10 12:27:22", updated_at: "2010-12-10 12:27:22", version: 1, published: true, published_version_id: 1, pic_id: nil, delta: true, permalink: "business-no4-marrakech", currently_created: false, creater_id: 11, is_mail_sent: false, pic_count: 0, review_count: 0, review_average_rate: 0.0, lat: 31.6333333, lng: -8.0, neighborhood: nil, google_address: "Marrakesh, Morocco">], | |
got: [#<Business id: 12, name: "Business No.4", address1: nil, address2: nil, location_id: 55, phone: nil, fax: nil, web_address: nil, closed: nil, closed_at: nil, note: nil, user_id: nil, created_at: "2010-12-10 12:27:22", updated_at: "2010-12-10 12:27:22", version: 1, published: true, published_version_id: 1, pic_id: nil, delta: true, permalink: "business-no4-marrakech", currently_created: false, creater_id: 11, is_mail_sent: false, pic_count: 0, review_count: 0, review_average_rate: nil, lat: 31.6333, lng: -8.0, neighborhood: nil, google_address: "Marrakesh, Morocco">, #<Business id: 11, name: "Business No.3", address1: nil, address2: nil, location_id: 55, phone: nil, fax: nil, web_address: nil, closed: nil, closed_at: nil, note: nil, user_id: nil, created_at: "2010-12-10 12:27:21", updated_at: "2010-12-10 12:27:21", version: 1, published: true, published_version_id: 1, pic_id: nil, delta: true, permalink: "business-no3-marrakech", currently_created: false, creater_id: 11, is_mail_sent: false, pic_count: 0, review_count: 0, review_average_rate: nil, lat: 31.6333, lng: -8.0, neighborhood: nil, google_address: "Marrakesh, Morocco">] (using ==) | |
./spec/models/category_spec.rb:42: | |
Finished in 24.308259 seconds | |
65 examples, 1 failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment