Sha256: 8d0447965bbbc3a492b21f51822653bf8f6b5e75b1188f83d55f12e09d107a78

Contents?: true

Size: 542 Bytes

Versions: 3

Compression:

Stored size: 542 Bytes

Contents

Given(/^a middleman config file with:$/) do |string|
  step 'a file named "config.rb" with:', string
end

Given(/^a source file named "(.*?)" with:$/) do |path, string|
  step %(a file named "source/#{path}" with:), string
end

# rubocop:disable Metrics/LineLength
Then(/^I should see a geo pattern based on "(.*?)" with patterns "(.*?)" with color "(.*?)"$/) do |string, patterns, color|
  step %(I should see:), GeoPattern.generate(string, patterns: patterns.split(/,\s*/), color: color).to_data_uri
end
# rubocop:enable Metrics/LineLength

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
middleman-geo_pattern-0.0.4 features/step_definitions.rb
middleman-geo_pattern-0.0.3 features/step_definitions.rb
middleman-geo_pattern-0.0.1 features/step_definitions.rb