Class: RaiderHelperTemplate

Inherits:
Template show all
Defined in:
lib/generators/templates/helpers/raider_helper_template.rb

Instance Method Summary collapse

Methods inherited from Template

#initialize, #parsed_body

Constructor Details

This class inherits a constructor from Template

Instance Method Details

#bodyObject



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/generators/templates/helpers/raider_helper_template.rb', line 4

def body
  "    module Raider\n      \#{\"require_relative 'spec_helper'\" if @framework == 'rspec'}\n      require_relative '\#{@automation}_helper'\n      require_relative 'pom_helper'\n      require_relative '\#{@automation == 'watir' ? 'browser_helper' : 'driver_helper'}'\n      require_relative 'allure_helper'\n    end\n  EOF\nend\n"