[CruiseControl] Erector build 85de079 failed

1 view
Skip to first unread message

alexch+e...@gmail.com

unread,
Dec 3, 2009, 3:51:21 PM12/3/09
to ere...@googlegroups.com
The build failed.

CHANGES
-------
Revision ...85de079 committed by Alex Chaffee <al...@stinky.com> on 2009-12-03 20:44:46

Reintroducting an Output object, to factor out indentation and the like.

lib/erector.rb | 1 +
lib/erector/output.rb | 52 +++++++++++++++
lib/erector/widget.rb | 125 +++++++++++++------------------------
spec/erector/indentation_spec.rb | 2 +-
spec/erector/output_spec.rb | 124 ++++++++++++++++++++++++++++++++++++
spec/erector/widget_spec.rb | 88 ++++++++++++++------------
spec/erector/widgets/page_spec.rb | 2 +
7 files changed, 272 insertions(+), 122 deletions(-)



TEST FAILURES AND ERRORS
-----------------------
Name: Erector::Rails::Helpers#link_to renders the link
Type: Failure
Message: expected: "<a href=\"/foo?this=1&amp;that=1\">This&amp;that</a>",
got: "" (using ==)

/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `=='
./spec/rails_helpers_spec.rb:28:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
./spec/rails_spec_suite.rb:3:


Name: Erector::Rails::Helpers#link_to supports path methods
Type: Failure
Message: expected: "<a href=\"/\">Link</a>",
got: "" (using ==)

/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `=='
./spec/rails_helpers_spec.rb:38:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
./spec/rails_spec_suite.rb:3:


Name: Erector::Rails::Helpers#image_tag renders
Type: Failure
Message: expected: "<img alt=\"Foo\" src=\"/foo\" />",
got: "" (using ==)

/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `=='
./spec/rails_helpers_spec.rb:46:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
./spec/rails_spec_suite.rb:3:


Name: Erector::Rails::Helpers#image_tag renders with parameters
Type: Failure
Message: expected: "<img alt=\"Foo\" class=\"a_photo_class\" id=\"photo_foo\" src=\"/foo\" />",
got: "" (using ==)

/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `=='
./spec/rails_helpers_spec.rb:52:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
./spec/rails_spec_suite.rb:3:


Name: Erector.inline should allow view helpers to be called
Type: Failure
Message: expected: "<img alt=\"Test\" src=\"/images/test.gif\" />",
got: "" (using ==)

/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in `eval_match'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in `=='
./spec/rails_inline_spec.rb:10:
./spec/rails_inline_spec.rb:7:in `instance_eval'
./spec/rails_inline_spec.rb:7:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
./spec/rails_spec_suite.rb:3:


Name: Erector::Rails::Helpers#form_tag renders non-forgery-protected forms when forgery protection is turned off
Type: Error
Message: NoMethodError in 'Erector::Rails::Helpers#form_tag renders non-forgery-protected forms when forgery protection is turned off'
undefined method `at_line_start?' for "":String

/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:425:in `open_tag'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:669:in `__element__'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:87:in `p'
./spec/rails_helpers_spec.rb:192:
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_tag_helper.rb:466:in `form_tag_in_block'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_tag_helper.rb:39:in `form_tag'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/rails/extensions/rails_widget/rails_helpers.rb:75:in `form_tag'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/rails/extensions/rails_widget/rails_helpers.rb:74:in `form_tag'
./spec/rails_helpers_spec.rb:191:
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/inline.rb:18:in `instance_eval'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/inline.rb:18:in `call_block'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:317:in `content'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:305:in `send'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:305:in `_render'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:646:in `context'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:304:in `_render'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:279:in `to_s'
./spec/rails_helpers_spec.rb:190:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
./spec/rails_spec_suite.rb:3:


Name: Erector::Rails::Helpers#form_tag renders forgery-protected forms when forgery protection is turned on
Type: Error
Message: NoMethodError in 'Erector::Rails::Helpers#form_tag renders forgery-protected forms when forgery protection is turned on'
undefined method `at_line_start?' for "":String

/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:425:in `open_tag'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:669:in `__element__'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:87:in `p'
./spec/rails_helpers_spec.rb:214:
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_tag_helper.rb:466:in `form_tag_in_block'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_tag_helper.rb:39:in `form_tag'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/rails/extensions/rails_widget/rails_helpers.rb:75:in `form_tag'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/rails/extensions/rails_widget/rails_helpers.rb:74:in `form_tag'
./spec/rails_helpers_spec.rb:213:
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/inline.rb:18:in `instance_eval'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/inline.rb:18:in `call_block'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:317:in `content'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:305:in `send'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:305:in `_render'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:646:in `context'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:304:in `_render'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:279:in `to_s'
./spec/rails_helpers_spec.rb:212:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
./spec/rails_spec_suite.rb:3:


Name: ActionController::Base#render should render updates while overriding RJS output_buffer changes
Type: Error
Message: NoMethodError in 'ActionController::Base#render should render updates while overriding RJS output_buffer changes'
undefined method `at_line_start?' for "":String

/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:425:in `open_tag'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:669:in `__element__'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:87:in `h1'
./spec/render_spec.rb:189:in `content'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_tag_helper.rb:466:in `form_tag_in_block'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_tag_helper.rb:39:in `form_tag'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/rails/extensions/rails_widget/rails_helpers.rb:75:in `form_tag'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36:in `capture'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/rails/extensions/rails_widget/rails_helpers.rb:74:in `form_tag'
./spec/render_spec.rb:188:in `content'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:305:in `send'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:305:in `_render'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:646:in `context'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:304:in `_render'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/widget.rb:279:in `to_s'
./spec/render_spec.rb:169:in `__instance_exec0'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/object/extending.rb:74:in `send'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/object/extending.rb:74:in `instance_exec'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/prototype_helper.rb:578:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/prototype_helper.rb:577:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:979:in `new'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:979:in `render_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render_without_erector_widget'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in `realtime'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render_without_erector_widget'
/home/pivotal/.cruise/projects/Erector/work/spec/../lib/erector/rails/extensions/action_controller.rb:10:in `render'
./spec/render_spec.rb:168:in `render_rjs_with_widget'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in `realtime'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
./spec/render_spec.rb:211:in `test_action'
./spec/render_spec.rb:315:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:61:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner.rb:45:in `autorun'
./spec/rails_spec_suite.rb:3:

48 examples, 8 failures
rake aborted!
Failed for version 2.3.5
/home/pivotal/.cruise/projects/Erector/work/Rakefile:80
(See full trace by running task with --trace)

dir : /home/pivotal/.cruise/projects/Erector/work
command : echo /home/pivotal/.cruise/projects/Erector/work pivotal$ ruby\ -e\ \"require\ \'rubygems\'\ rescue\ nil\;\ require\ \'rake\'\;\ load\ \'/home/pivotal/ccrb/tasks/cc_build.rake\'\;\ ARGV\ \<\<\ \'--nosearch\'\ \<\<\ \'cc:build\'\;\ Rake.application.run\;\ ARGV.clear\" >> /home/pivotal/.cruise/projects/Erector/build-85de079/build.log && ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/home/pivotal/ccrb/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run; ARGV.clear" >> /home/pivotal/.cruise/projects/Erector/build-85de079/build.log 2>&1




See http://ci.pivotallabs.com:3333/builds/Erector/85de079 for details.
Reply all
Reply to author
Forward
0 new messages