spec/macros4cuke/use-sample-collection.rb in macros4cuke-0.5.16 vs spec/macros4cuke/use-sample-collection.rb in macros4cuke-0.5.17

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + # File: use-sample-collection.rb # Purpose: mix-in module with helper methods to build a sample # collection of macro-steps. require_relative '../../lib/macros4cuke/macro-collection' @@ -8,11 +10,11 @@ # Mix-in module. # Defines a set of methods that builds for testing purposes # a sample collection of macro-steps. module UseSampleCollection # Phrase of first macro-step in the collection. - SamplePhrase1 = 'enter my credentials as <userid>'.freeze + SamplePhrase1 = 'enter my credentials as <userid>' # Sub-steps of the first macro-step in the collection. SampleSubsteps1 = begin snippet = <<-SNIPPET Given I landed in the homepage @@ -24,10 +26,10 @@ snippet end # Phrase of second macro-step in the collection. - SamplePhrase2 = 'fill in the form with'.freeze + SamplePhrase2 = 'fill in the form with' # Sub-steps of the second macro-step in the collection. SampleSubsteps2 = begin snippet = <<-SNIPPET When I fill in "first_name" with "<firstname>"