Please sign in to comment.
ignore other warnings in test assertion. Ruby 2.0
Using Ruby 2.0 we get a failing test in actionpack: 1) Failure: test_locals_option_to_assert_template_is_not_supported(RenderTest) [/Users/senny/Projects/rails/actionpack/test/controller/render_test.rb:1441]: --- expected +++ actual @@ -1,2 +1,3 @@ -"the :locals option to #assert_template is only supported in a ActionView::TestCase +"/Users/senny/Projects/rails/actionpack/test/fixtures/test/_customer_greeting.erb:1: warning: assigned but unused variable - customer_greeting_counter +the :locals option to #assert_template is only supported in a ActionView::TestCase " This is because there are tons of warnings emitted and the test makes a hard match against the warning buffer.
- Loading branch information...
Showing with 1 addition and 1 deletion.