Sha256: d2300064ed99d5c82355aa14523db53f0ff37929e34679d0da9c93c67cae9549
Contents?: true
Size: 543 Bytes
Versions: 14
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true require_relative 'generator' class RspecGenerator < Generator def generate_login_spec return unless (@_initializer.first & %w[android ios cross_platform]).empty? template('rspec/spec.tt', "#{name}/spec/login_page_spec.rb") end def generate_pdp_spec return if (@_initializer.first & %w[android ios cross_platform]).empty? template('rspec/spec.tt', "#{name}/spec/pdp_page_spec.rb") end def generate_base_spec template('rspec/base_spec.tt', "#{name}/spec/base_spec.rb") end end
Version data entries
14 entries across 14 versions & 1 rubygems