Skip to content

Commit

Permalink
Merge pull request ManageIQ#15965 from europ/remove-ui-constants-59.2…
Browse files Browse the repository at this point in the history
…-FINAL

Permanently deleted app/helpers/ui_constants.rb ... end of issue ManageIQ#1661
  • Loading branch information
chrisarcand authored Sep 12, 2017
2 parents 650ed66 + 6e4e760 commit 77f2bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/test_contamination.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.setup
def self.patched_include
Module.new do
def include(included)
exceptions = ["ActionView::Helpers::NumberHelper", "SNMP::BER", "UiConstants"] # TODO: Why is UiConstants included in `main`??? :(
exceptions = ["ActionView::Helpers::NumberHelper", "SNMP::BER"]
return super if included.to_s.in?(exceptions)
raise RuntimeError, "Unexpected module '#{included}' included globally, did you mean to include it in a class?", caller
end
Expand Down

0 comments on commit 77f2bf5

Please sign in to comment.