Sha256: abde0779e0d11e0658c81f975c31e526ba11508cc8c288d6f9cac6c1b549e1ee
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 KB
Contents
Given /^bourbon is already installed$/ do install_bourbon end Given /^I install bourbon to "([^"]*)"$/ do |path| end Then /^the sass directories(?: with "([^"]+)" prefix)? should have been generated$/ do |prefix| sass_directories = ["addons", "css3", "functions"] sass_directories.map!{ |directory| bourbon_path(prefix, directory) } check_directory_presence(sass_directories, true) end Then /^the master bourbon partial should have been generated(?: within "([^"]+)" directory)?$/ do |prefix| check_file_presence([bourbon_path(prefix, '_bourbon.scss')], true) end Then /^the lib files should have been generated(?: within "([^"]+)" directory)?$/ do |prefix| check_file_presence([bourbon_path(prefix, 'lib/bourbon.rb')], true) check_directory_presence([bourbon_path(prefix, 'lib/bourbon')], true) check_file_presence([bourbon_path(prefix, 'lib/bourbon/sass_extensions.rb')], true) check_directory_presence([bourbon_path(prefix, 'lib/bourbon/sass_extensions')], true) end Then /^bourbon should not have been generated$/ do check_directory_presence(['bourbon'], false) end Then /^the output should contain the current version of Bourbon$/ do step %(the output should contain exactly "Bourbon #{Bourbon::VERSION}\n") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bourbon-2.1.3 | features/step_definitions/bourbon_steps.rb |
bourbon-2.1.2 | features/step_definitions/bourbon_steps.rb |