Initial commit
This commit is contained in:
10
spec/support/helper.rb
Normal file
10
spec/support/helper.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Helper
|
||||
def to_readable(field)
|
||||
field.to_s.humanize.downcase
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
RSpec.configure { |config| config.include Helper }
|
||||
Reference in New Issue
Block a user