Created
March 31, 2009 20:34
-
-
Save jgagne33/88395 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
rpwin:~/redeparede/code/trunk jasongagne$ rake spec | |
(in /Users/jasongagne/redeparede/code/trunk) | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/integration/tasks | |
...........FFFF........FF.FF............*........*..........................F...^C.^C. | |
Pending: | |
MeeboController getfriends should return error when user doesn't exists (Not Yet Implemented) | |
./spec/controllers/meebo_controller_spec.rb:220 | |
MeeboController getinfo should return error when user doesn't exists (Not Yet Implemented) | |
./spec/controllers/meebo_controller_spec.rb:134 | |
1) | |
NoMethodError in 'PostsController handling PUT /posts/:permalink upgrade to paid should changes post attributes' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.national_city | |
/Users/jasongagne/redeparede/code/trunk/app/models/post.rb:473:in `set_city' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb:45:in `transaction' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:260:in `update' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:259:in `update' | |
./spec/controllers/posts_controller_spec.rb:34: | |
2) | |
NoMethodError in 'PostsController handling PUT /posts/:permalink upgrade to paid should redirects to payment page' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.national_city | |
/Users/jasongagne/redeparede/code/trunk/app/models/post.rb:473:in `set_city' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb:45:in `transaction' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:260:in `update' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:259:in `update' | |
./spec/controllers/posts_controller_spec.rb:34: | |
3) | |
ActionView::TemplateError in 'PostsController handling GET /posts/:permalink/edit should show coverage form editing a non-paid post' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.international? | |
On line #21 of posts/edit.html.erb | |
18: <% end %> | |
19: | |
20: <div class="edit-post"> | |
21: <% form_for(:post, :url => generate_post_url(@post), :html => {:multipart => true, :id=>'add-a-post', :method => :put }) do |f| %> | |
22: <%= render :partial => 'form', :locals => { :f => f } %> | |
23: <% end %> | |
24: </div> | |
app/models/post.rb:323:in `generate_url' | |
app/models/post.rb:318:in `url' | |
app/helpers/url_helper.rb:73:in `generate_post_url' | |
(eval):2:in `send' | |
(eval):2:in `generate_post_url' | |
app/views/posts/edit.html.erb:21:in `_run_erb_47app47views47posts47edit46html46erb' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `send' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `execute' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:35:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template' | |
vendor/rails/actionpack/lib/action_view/base.rb:245:in `render_file_without_gettext' | |
/usr/local/lib/ruby/gems/1.8/gems/gettext-1.92.0/lib/gettext/rails.rb:284:in `render_file' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1108:in `render_for_file' | |
vendor/rails/actionpack/lib/action_controller/base.rb:841:in `render_with_no_layout' | |
vendor/rails/actionpack/lib/action_controller/layout.rb:251:in `render_without_benchmark' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' | |
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' | |
vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb:211:in `render' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1157:in `default_render' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1163:in `perform_action_without_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching' | |
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' | |
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' | |
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache' | |
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' | |
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send' | |
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support' | |
vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process_without_test' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:16:in `process' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:394:in `process' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:365:in `get' | |
spec/controllers/posts_controller_spec.rb:19 | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:37:in `instance_eval' | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:37:in `execute' | |
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:34:in `execute' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:208:in `execute_examples' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:206:in `each' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:206:in `execute_examples' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:104:in `run' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:23:in `run' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `each' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `run' | |
vendor/plugins/rspec/lib/spec/runner/options.rb:117:in `run_examples' | |
vendor/plugins/rspec/lib/spec/runner/command_line.rb:9:in `run' | |
vendor/plugins/rspec/bin/spec:4 | |
4) | |
ActionView::TemplateError in 'PostsController handling GET /posts/:permalink/edit should not show duration and coverage form editing a paid post' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.domain | |
On line #12 of shared/_header.html.erb | |
9: <% if logged_in? %> | |
10: <ul id="useractions"> | |
11: <li id="menu_logout"><%= link_to(_('Logout'), logout_url, :method => :delete, :class => 'logout') %></li> | |
12: <li id="menu_settings"><%= link_to(_('Settings'), edit_user_url(current_user.permalink, :host => current_user.country.domain)) %></li> | |
13: <li id="menu_mail"><%= mail_link(current_user) %></li> | |
14: <li id="menu_my"> | |
15: <%= link_to(image_tag(current_user.avatar_url( 'tiny' )) + _('My RedeParede'), '#mynav_menu', :class=>'avatar') %> | |
app/views/shared/_header.html.erb:12:in `_run_erb_47app47views47shared47_header46html46erb' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `send' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `execute' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render' | |
vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in `render' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template' | |
vendor/rails/actionpack/lib/action_view/partials.rb:110:in `render_partial_without_record_identification' | |
vendor/plugins/simply_helpful/lib/simply_helpful/av_extensions.rb:6:in `render_partial_without_base_view_path_handling' | |
vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_view/base.rb:15:in `render_partial' | |
vendor/rails/actionpack/lib/action_view/base.rb:273:in `render_without_mock_proxy' | |
vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_view/base.rb:27:in `render' | |
app/views/layouts/application.html.erb:29:in `_run_erb_47app47views47layouts47application46html46erb' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `send' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `execute' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:35:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template' | |
vendor/rails/actionpack/lib/action_view/base.rb:245:in `render_file_without_gettext' | |
/usr/local/lib/ruby/gems/1.8/gems/gettext-1.92.0/lib/gettext/rails.rb:284:in `render_file' | |
vendor/rails/actionpack/lib/action_controller/layout.rb:257:in `render_without_benchmark' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' | |
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' | |
vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb:211:in `render' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1157:in `default_render' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1163:in `perform_action_without_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching' | |
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' | |
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' | |
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache' | |
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' | |
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send' | |
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support' | |
vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process_without_test' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:16:in `process' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:394:in `process' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:365:in `get' | |
spec/controllers/posts_controller_spec.rb:24 | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:37:in `instance_eval' | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:37:in `execute' | |
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:34:in `execute' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:208:in `execute_examples' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:206:in `each' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:206:in `execute_examples' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:104:in `run' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:23:in `run' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `each' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `run' | |
vendor/plugins/rspec/lib/spec/runner/options.rb:117:in `run_examples' | |
vendor/plugins/rspec/lib/spec/runner/command_line.rb:9:in `run' | |
vendor/plugins/rspec/bin/spec:4 | |
5) | |
NoMethodError in 'SessionsController meebo cookies should set meebo cookie on login' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.permalink | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/sessions_controller.rb:23:in `create' | |
./spec/controllers/sessions_controller_spec.rb:20: | |
6) | |
NoMethodError in 'SessionsController meebo cookies should delete meebo cookie on logout' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.permalink | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/sessions_controller.rb:23:in `create' | |
./spec/controllers/sessions_controller_spec.rb:25: | |
7) | |
'PostFinder SQLFinder should find only premium posts' FAILED | |
expected: [#<SalePost id: 411540489, title: "2006 SUZUKI GSX-R1000K6 BLUE, RED & SILVER", body: "With a racing pedigree that spans over 20 years, th...", body_html: "<p>With a racing pedigree that spans over 20 years,...", category_id: 852198023, city_id: 261119075, user_id: 745185059, ip_address: "127.0.0.1", expires_at: "2009-04-08 12:49:46", banned_at: nil, deleted_at: nil, views_count: 20, updated_at: "2009-03-30 12:49:46", created_at: "2009-03-25 13:19:46", permalink: "2004-suzuki-gsxr-r1000-blue-red-silver-23", type: "SalePost", popularity: nil, price: "2,000", preview: false, approved: false, include_skype_username: nil, contact_email: nil, contact_telephone: nil, comments_available: true, repost_token: nil, creating_api_key_id: nil, updating_api_key_id: nil, main_asset_id: nil, premium: true, max_photos: 3, payment_required: false, coverage_id: 620951753, url: nil, country_id: 319924150, active: true, top: nil, should_float: false, country_city_merge: 1827559498, duration: 1>], | |
got: [] (using ==) | |
./spec/models/lib/post_finder_spec.rb:11: | |
8) | |
'PostFinder SQLFinder should not allow sql injection on order' FAILED | |
expected no Exception, got #<Spec::Expectations::ExpectationNotMetError: expected: 2, | |
got: 0 (using ==)> | |
./spec/models/lib/post_finder_spec.rb:16: | |
9) | |
'Post callbacks set_country_city_merge should set on update' FAILED | |
country_city_merge should have initially been 319924150, but was 1827559498 | |
./spec/models/post_spec.rb:38: | |
Finished in 166.08074 seconds | |
82 examples, 9 failures, 2 pending | |
rake aborted! | |
Command /usr/local/bin/ruby -I"/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib" "/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/bin/spec" "spec/controllers/meebo_controller_spec.rb" "spec/controllers/posts_controller_spec.rb" "spec/controllers/sessions_controller_spec.rb" "spec/controllers/tweets_controller_spec.rb" "spec/controllers/users_controller_spec.rb" "spec/helpers/meebo_helper_spec.rb" "spec/models/city_spec.rb" "spec/models/coverage_spec.rb" "spec/models/lib/post_finder_spec.rb" "spec/models/lib/rede_twitter_spec.rb" "spec/models/post_spec.rb" "spec/models/tweet_spec.rb" --options "/Users/jasongagne/redeparede/code/trunk/spec/spec.opts" failed | |
(See full trace by running task with --trace) | |
rpwin:~/redeparede/code/trunk jasongagne$ | |
rpwin:~/redeparede/code/trunk jasongagne$ rake spec | |
(in /Users/jasongagne/redeparede/code/trunk) | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/integration/tasks | |
...........FFFF........FF.FF............*........*..........................F..... | |
Pending: | |
MeeboController getfriends should return error when user doesn't exists (Not Yet Implemented) | |
./spec/controllers/meebo_controller_spec.rb:220 | |
MeeboController getinfo should return error when user doesn't exists (Not Yet Implemented) | |
./spec/controllers/meebo_controller_spec.rb:134 | |
1) | |
NoMethodError in 'PostsController handling PUT /posts/:permalink upgrade to paid should changes post attributes' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.national_city | |
/Users/jasongagne/redeparede/code/trunk/app/models/post.rb:481:in `set_city' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb:45:in `transaction' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:260:in `update' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:259:in `update' | |
./spec/controllers/posts_controller_spec.rb:34: | |
2) | |
NoMethodError in 'PostsController handling PUT /posts/:permalink upgrade to paid should redirects to payment page' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.national_city | |
/Users/jasongagne/redeparede/code/trunk/app/models/post.rb:481:in `set_city' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/deadlock_retry/lib/deadlock_retry.rb:45:in `transaction' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:260:in `update' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:259:in `update' | |
./spec/controllers/posts_controller_spec.rb:34: | |
3) | |
ActionView::TemplateError in 'PostsController handling GET /posts/:permalink/edit should show coverage form editing a non-paid post' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.international? | |
On line #21 of posts/edit.html.erb | |
18: <% end %> | |
19: | |
20: <div class="edit-post"> | |
21: <% form_for(:post, :url => generate_post_url(@post), :html => {:multipart => true, :id=>'add-a-post', :method => :put }) do |f| %> | |
22: <%= render :partial => 'form', :locals => { :f => f } %> | |
23: <% end %> | |
24: </div> | |
app/models/post.rb:331:in `generate_url' | |
app/models/post.rb:326:in `url' | |
app/helpers/url_helper.rb:73:in `generate_post_url' | |
(eval):2:in `send' | |
(eval):2:in `generate_post_url' | |
app/views/posts/edit.html.erb:21:in `_run_erb_47app47views47posts47edit46html46erb' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `send' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `execute' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:35:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template' | |
vendor/rails/actionpack/lib/action_view/base.rb:245:in `render_file_without_gettext' | |
/usr/local/lib/ruby/gems/1.8/gems/gettext-1.92.0/lib/gettext/rails.rb:284:in `render_file' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1108:in `render_for_file' | |
vendor/rails/actionpack/lib/action_controller/base.rb:841:in `render_with_no_layout' | |
vendor/rails/actionpack/lib/action_controller/layout.rb:251:in `render_without_benchmark' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' | |
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' | |
vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb:211:in `render' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1157:in `default_render' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1163:in `perform_action_without_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching' | |
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' | |
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' | |
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache' | |
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' | |
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send' | |
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support' | |
vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process_without_test' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:16:in `process' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:394:in `process' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:365:in `get' | |
spec/controllers/posts_controller_spec.rb:19 | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:37:in `instance_eval' | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:37:in `execute' | |
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:34:in `execute' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:208:in `execute_examples' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:206:in `each' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:206:in `execute_examples' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:104:in `run' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:23:in `run' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `each' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `run' | |
vendor/plugins/rspec/lib/spec/runner/options.rb:117:in `run_examples' | |
vendor/plugins/rspec/lib/spec/runner/command_line.rb:9:in `run' | |
vendor/plugins/rspec/bin/spec:4 | |
4) | |
ActionView::TemplateError in 'PostsController handling GET /posts/:permalink/edit should not show duration and coverage form editing a paid post' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.domain | |
On line #12 of shared/_header.html.erb | |
9: <% if logged_in? %> | |
10: <ul id="useractions"> | |
11: <li id="menu_logout"><%= link_to(_('Logout'), logout_url, :method => :delete, :class => 'logout') %></li> | |
12: <li id="menu_settings"><%= link_to(_('Settings'), edit_user_url(current_user.permalink, :host => current_user.country.domain)) %></li> | |
13: <li id="menu_mail"><%= mail_link(current_user) %></li> | |
14: <li id="menu_my"> | |
15: <%= link_to(image_tag(current_user.avatar_url( 'tiny' )) + _('My RedeParede'), '#mynav_menu', :class=>'avatar') %> | |
app/views/shared/_header.html.erb:12:in `_run_erb_47app47views47shared47_header46html46erb' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `send' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `execute' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render' | |
vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in `render' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template' | |
vendor/rails/actionpack/lib/action_view/partials.rb:110:in `render_partial_without_record_identification' | |
vendor/plugins/simply_helpful/lib/simply_helpful/av_extensions.rb:6:in `render_partial_without_base_view_path_handling' | |
vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_view/base.rb:15:in `render_partial' | |
vendor/rails/actionpack/lib/action_view/base.rb:273:in `render_without_mock_proxy' | |
vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_view/base.rb:27:in `render' | |
app/views/layouts/application.html.erb:29:in `_run_erb_47app47views47layouts47application46html46erb' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `send' | |
vendor/rails/actionpack/lib/action_view/base.rb:338:in `execute' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send' | |
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:35:in `render' | |
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template' | |
vendor/rails/actionpack/lib/action_view/base.rb:245:in `render_file_without_gettext' | |
/usr/local/lib/ruby/gems/1.8/gems/gettext-1.92.0/lib/gettext/rails.rb:284:in `render_file' | |
vendor/rails/actionpack/lib/action_controller/layout.rb:257:in `render_without_benchmark' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' | |
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' | |
vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb:211:in `render' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1157:in `default_render' | |
vendor/rails/actionpack/lib/action_controller/base.rb:1163:in `perform_action_without_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching' | |
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' | |
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' | |
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache' | |
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' | |
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send' | |
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters' | |
vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support' | |
vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process_without_test' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:16:in `process' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:394:in `process' | |
vendor/rails/actionpack/lib/action_controller/test_process.rb:365:in `get' | |
spec/controllers/posts_controller_spec.rb:24 | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:37:in `instance_eval' | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:37:in `execute' | |
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout' | |
vendor/plugins/rspec/lib/spec/example/example_methods.rb:34:in `execute' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:208:in `execute_examples' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:206:in `each' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:206:in `execute_examples' | |
vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:104:in `run' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:23:in `run' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `each' | |
vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `run' | |
vendor/plugins/rspec/lib/spec/runner/options.rb:117:in `run_examples' | |
vendor/plugins/rspec/lib/spec/runner/command_line.rb:9:in `run' | |
vendor/plugins/rspec/bin/spec:4 | |
5) | |
NoMethodError in 'SessionsController meebo cookies should set meebo cookie on login' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.permalink | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/sessions_controller.rb:23:in `create' | |
./spec/controllers/sessions_controller_spec.rb:20: | |
6) | |
NoMethodError in 'SessionsController meebo cookies should delete meebo cookie on logout' | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.permalink | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/sessions_controller.rb:23:in `create' | |
./spec/controllers/sessions_controller_spec.rb:25: | |
7) | |
'PostFinder SQLFinder should find only premium posts' FAILED | |
expected: [#<SalePost id: 411540489, title: "2006 SUZUKI GSX-R1000K6 BLUE, RED & SILVER", body: "With a racing pedigree that spans over 20 years, th...", body_html: "<p>With a racing pedigree that spans over 20 years,...", category_id: 852198023, city_id: 261119075, user_id: 745185059, ip_address: "127.0.0.1", expires_at: "2009-04-08 12:52:50", banned_at: nil, deleted_at: nil, views_count: 20, updated_at: "2009-03-30 12:52:50", created_at: "2009-03-25 13:22:50", permalink: "2004-suzuki-gsxr-r1000-blue-red-silver-23", type: "SalePost", popularity: nil, price: "2,000", preview: false, approved: false, include_skype_username: nil, contact_email: nil, contact_telephone: nil, comments_available: true, repost_token: nil, creating_api_key_id: nil, updating_api_key_id: nil, main_asset_id: nil, premium: true, max_photos: 3, payment_required: false, coverage_id: 620951753, url: nil, country_id: 319924150, active: true, top: nil, should_float: false, country_city_merge: 1827559498, duration: 1>], | |
got: [] (using ==) | |
./spec/models/lib/post_finder_spec.rb:11: | |
8) | |
'PostFinder SQLFinder should not allow sql injection on order' FAILED | |
expected no Exception, got #<Spec::Expectations::ExpectationNotMetError: expected: 2, | |
got: 0 (using ==)> | |
./spec/models/lib/post_finder_spec.rb:16: | |
9) | |
'Post callbacks set_country_city_merge should set on update' FAILED | |
country_city_merge should have initially been 319924150, but was 1827559498 | |
./spec/models/post_spec.rb:38: | |
Finished in 184.783672 seconds | |
82 examples, 9 failures, 2 pending |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment