lib/generators/automation/templates/abstract_page.tt in ruby_raider-0.7.3 vs lib/generators/automation/templates/abstract_page.tt in ruby_raider-0.7.4
- old
+ new
@@ -1,9 +1,7 @@
-<%= ERB.new(File.read(File.expand_path('./partials/require_raider.tt', __dir__)), trim_mode: '-').result(binding) -%>
-
class AbstractPage
<% if automation == 'cross_platform' -%>
- include Raider::AppiumHelper
+ include AppiumHelper
<% end -%>
<%= ERB.new(File.read(File.expand_path('./partials/initialize_selector.tt', __dir__))).result(binding) -%>
<%= ERB.new(File.read(File.expand_path('./partials/visit_method.tt', __dir__))).result(binding) -%>
<%= ERB.new(File.read(File.expand_path('./partials/url_methods.tt', __dir__))).result(binding) -%>