Skip to content

Instantly share code, notes, and snippets.

@dreamr
Created December 10, 2010 00:01
Show Gist options
  • Save dreamr/735545 to your computer and use it in GitHub Desktop.
Save dreamr/735545 to your computer and use it in GitHub Desktop.
Failing specs
1)
'AccountController AccountController should be able to upload avatar' FAILED
expected: 1,
got: 0 (using ==)
./spec/controllers/account_controller_spec.rb:144:
2)
'Pic pic should be valid when files are png or gif' FAILED
expected valid_on_create? to return true, got false
./spec/models/pic_spec.rb:18:
3)
'Category category behaviors should return the top businesses from the category' FAILED
expected: [#<Business id: 7, name: "Business No.1", 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-09 23:53:25", updated_at: "2010-12-09 23:53:26", version: 1, published: true, published_version_id: 1, pic_id: nil, delta: true, permalink: "business-no1-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: 8, name: "Business No.2", 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-09 23:53:27", updated_at: "2010-12-09 23:53:27", version: 1, published: true, published_version_id: 1, pic_id: nil, delta: true, permalink: "business-no2-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: 8, name: "Business No.2", 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-09 23:53:27", updated_at: "2010-12-09 23:53:28", version: 1, published: true, published_version_id: 1, pic_id: nil, delta: true, permalink: "business-no2-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: 7, name: "Business No.1", 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-09 23:53:25", updated_at: "2010-12-09 23:53:26", version: 1, published: true, published_version_id: 1, pic_id: nil, delta: true, permalink: "business-no1-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:
4)
'WriteAReviews should return the result with order' FAILED
expected: 0,
got: 1 (using ==)
./spec/integration/write_a_reviews_spec.rb:14:
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/thinking-sphinx-1.3.16/lib/thinking_sphinx/test.rb:31:in `run'
./spec/integration/write_a_reviews_spec.rb:11:
5)
Webrat::NotFoundError in 'ReviewCreations should generate reviews success'
Could not find button "Login"
/Users/james/development/clients/blanee/vendor/plugins/webrat/lib/webrat/core/locators/locator.rb:14:in `locate!'
/Users/james/development/clients/blanee/vendor/plugins/webrat/lib/webrat/core/locators/button_locator.rb:50:in `find_button'
/Users/james/development/clients/blanee/vendor/plugins/webrat/lib/webrat/core/scope.rb:290:in `click_button'
(eval):2:in `click_button'
./spec/controllers/user/../../spec_helper.rb:130:in `login_as'
./spec/integration/review_creations_spec.rb:45:
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/thinking-sphinx-1.3.16/lib/thinking_sphinx/test.rb:31:in `run'
./spec/integration/review_creations_spec.rb:11:
6)
ThreadError in 'ProfileCreations should register success'
thread 0x1001c2360 tried to join itself
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:47:in `_call'
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:35:in `call'
./spec/integration/profile_creations_spec.rb:29:
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/thinking-sphinx-1.3.16/lib/thinking_sphinx/test.rb:31:in `run'
./spec/integration/profile_creations_spec.rb:21:
7)
ThreadError in 'Homepages should have some majer part'
thread 0x1001c2360 tried to join itself
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:47:in `_call'
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:35:in `call'
./spec/integration/homepages_spec.rb:40:
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/thinking-sphinx-1.3.16/lib/thinking_sphinx/test.rb:31:in `run'
./spec/integration/homepages_spec.rb:11:
8)
ThreadError in 'BusinessModifications should changed with version'
thread 0x1001c2360 tried to join itself
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:47:in `_call'
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:35:in `call'
./spec/controllers/user/../../spec_helper.rb:127:in `login_as'
./spec/integration/business_modifications_spec.rb:38:
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/thinking-sphinx-1.3.16/lib/thinking_sphinx/test.rb:31:in `run'
./spec/integration/business_modifications_spec.rb:27:
9)
ThreadError in 'BusinessCreations should create business success'
thread 0x1001c2360 tried to join itself
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:47:in `_call'
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:35:in `call'
./spec/integration/business_creations_spec.rb:19:
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/thinking-sphinx-1.3.16/lib/thinking_sphinx/test.rb:31:in `run'
./spec/integration/business_creations_spec.rb:11:
10)
ThreadError in 'Authentications should login success'
thread 0x1001c2360 tried to join itself
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:47:in `_call'
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/rack-1.0.1/lib/rack/lint.rb:35:in `call'
./spec/integration/authentications_spec.rb:7:
/Users/james/.rvm/gems/ruby-1.8.7-p302@blanee/gems/thinking-sphinx-1.3.16/lib/thinking_sphinx/test.rb:31:in `run'
./spec/integration/authentications_spec.rb:5:
11)
'PicsController PicsController should upload pics when given valid attributes' FAILED
expected: 2,
got: 0 (using ==)
./spec/controllers/pics_controller_spec.rb:34:
12)
RuntimeError in 'PicsController PicsController should be able to delete a pic'
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
./spec/controllers/pics_controller_spec.rb:41:
13)
'PicsController PicsController should be able to add or update pic's description ' FAILED
expected: 2,
got: 0 (using ==)
./spec/controllers/pics_controller_spec.rb:59:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment