Patch #18782

Fix ui tests broken by undefined method error

Added by Katsuya HIDAKA over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:


Category:Code cleanup/refactoring
Target version:2.6.1


Run `rake test:ui` on Ruby 2.1.5p273 with trunk@r13854. Then, the following error occurs:

# Running:


Finished in 19.102035s, 0.5235 runs/s, 2.9840 assertions/s.

  1) Error:
NoMethodError: undefined method `find_all_by' for #<Class:0x007f8f1c66f2d0>
    test/ui/issues_test.rb:63:in `test_create_issue_with_form_update'

  2) Error:
NoMethodError: undefined method `find_all_by' for #<Class:0x007f8f1c66f2d0>
    test/ui/issues_test.rb:191:in `test_update_issue_with_form_update'

10 runs, 57 assertions, 0 failures, 2 errors, 0 skips

fix-testui-errors-r13854.diff Magnifier (1.32 KB) Katsuya HIDAKA, 2015-01-08 17:40

Associated revisions

Revision 13860
Added by Jean-Philippe Lang over 7 years ago

Fixed errors in UI tests (#18782).


#1 Updated by Jean-Philippe Lang over 7 years ago

  • Target version set to 2.6.1

#2 Updated by Jean-Philippe Lang over 7 years ago

  • Category set to Code cleanup/refactoring
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang

Fixed in r13860, thanks for pointing this out.

#3 Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF