Sha256: 28e41f9fa31a1c7b3b3af05db003ba1f70ea31df9c1d5bff79d65d3bbb783dd4

Contents?: true

Size: 861 Bytes

Versions: 2

Compression:

Stored size: 861 Bytes

Contents

Given /^minable is already installed$/ do
  install_minable
end

Given /^I install minable to "([^"]*)"$/ do |path|
end

Then /^the sass directories(?: with "([^"]+)" prefix)? should have been generated$/ do |prefix|
  sass_directories = ["components", "framework", "helpers", "modules", "templates"]
  sass_directories.map!{ |directory| minable_path(prefix, directory) }
  check_directory_presence(sass_directories, true)
end

Then /^the master minable partial should have been generated(?: within "([^"]+)" directory)?$/ do |prefix|
  check_file_presence([minable_path(prefix, '_minable.scss')], true)
end

Then /^minable should not have been generated$/ do
  check_directory_presence(['minable'], false)
end

Then /^the output should contain the current version of Minable$/ do
  step %(the output should contain exactly "Minable #{Minable::VERSION}\n")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minable-0.0.2 features/step_definitions/minable_steps.rb
minable-0.0.1 features/step_definitions/minable_steps.rb