Project

General

Profile

Bug #19360

Tests are failling with newest mintest

Added by Ivan Necas over 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

13:36:32 /usr/local/rvm/gems/ruby-2.0.0-p481@test_plugin_matrix-1/gems/minitest-5.10.1/lib/minitest/spec.rb:242:in `let': let 'location' cannot override a method in Minitest::Spec. Please use another name. (ArgumentError)

Related issues

Related to Foreman - Refactor #19131: Unpin minitest to permit later 5.xClosed2017-04-03

Associated revisions

Revision 385e6db2 (diff)
Added by Ivan Necas over 2 years ago

Fixes #19360 - avoid conflicts with minitest methods

+ additional fixes observed with update of the minitest

Revision 1dfac416 (diff)
Added by Ivan Necas over 2 years ago

Fixes #19360 - fix rubocop

Revision f1d339ed (diff)
Added by Ivan Necas over 2 years ago

Fixes #19360 - get closer to foreman when defining tests

We hit some issues with fixtures definitions when using the spec
style + this way we don't need to mess with DatabaseCleaner on
our own.

History

#1 Updated by Ivan Necas over 2 years ago

#2 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/243 added

#3 Updated by Ivan Necas over 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Ivan Necas over 2 years ago

  • Target version changed from 1.12.4 to 1.13.1

#5 Updated by Ivan Necas about 2 years ago

  • Legacy Backlogs Release (now unused) set to 262

Also available in: Atom PDF