Project

General

Profile

Actions

Bug #4584

closed

The dynflow tests don't load fixtures, Rails helpers unless they use a model name

Added by David Davis about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

With minitest-spec-rails, the "describe" call can only be used for certain items:

https://github.com/metaskills/minitest-spec-rails#test-styles

Otherwise, you must use the subclass style to encapsulate your test. You can then use a describe inside (e.g. https://gist.github.com/daviddavis/4e4a0cb389b4685ae19a).

Actions #1

Updated by David Davis about 10 years ago

Here is the discussion that raised this issue:

https://github.com/Katello/katello/pull/3743#discussion_r10357728

Actions #2

Updated by Ivan Necas about 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:49be817edf6df924c7bea216aa8b11d06af3f7e5.

Actions #3

Updated by Eric Helms almost 10 years ago

  • Triaged set to Yes
Actions #4

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF