Skip to content

Commit

Permalink
Stop stubbing modules in test_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Feb 2, 2018
1 parent 42b2ff7 commit 5502593
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/test_helper.rb
Expand Up @@ -51,12 +51,3 @@
]
end
end

# stub module to prevent its Import
# Useful for modules from different yast packages, to avoid build dependencies
def stub_module(name)
Yast.const_set name.to_sym, Class.new { def self.fake_method; end }
end

stub_module("Language")
stub_module("Proxy")

0 comments on commit 5502593

Please sign in to comment.