mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-19 04:49:15 +00:00
Adds a fake method with no test coverage to test Undercover gem
This commit is contained in:
13
lib/spree/core/fake_method.rb
Normal file
13
lib/spree/core/fake_method.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Spree
|
||||
module Core
|
||||
class FakeMethod
|
||||
# testing Undercover!
|
||||
# it's a random method, with no test coverage
|
||||
def square(number)
|
||||
number * number
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user