Sha256: 13aadb4ca6db56db5c713864b26d395431f27a6913c9494a6b8f14c4e8f7a8d8
Contents?: true
Size: 1.69 KB
Versions: 3
Compression:
Stored size: 1.69 KB
Contents
require 'fileutils' Before do @modification_times = {} end Given /^a built app at "([^\"]*)"$/ do |path| step %(a fixture app "#{path}") cwd = File.expand_path(aruba.current_directory) step %(I set the environment variable "MM_ROOT" to "#{cwd}") step %(I run `middleman build --verbose`) end Given /^was successfully built$/ do step %(the output should contain "Project built successfully.") step %(the exit status should be 0) step %(a directory named "build" should exist) end Given /^was not successfully built$/ do step %(the output should not contain "Project built successfully.") step %(the exit status should be 1) step %(a directory named "build" should not exist) end Given /^a successfully built app at "([^\"]*)"$/ do |path| step %(a built app at "#{path}") step %(was successfully built) end Given /^a built app at "([^\"]*)" with flags "([^\"]*)"$/ do |path, flags| step %(a fixture app "#{path}") cwd = File.expand_path(aruba.current_directory) step %(I set the environment variable "MM_ROOT" to "#{cwd}") step %(I run `middleman build #{flags}`) end Given /^a successfully built app at "([^\"]*)" with flags "([^\"]*)"$/ do |path, flags| step %(a built app at "#{path}" with flags "#{flags}") step %(was successfully built) end Given /^I run the interactive middleman console$/ do cwd = File.expand_path(aruba.current_directory) step %(I set the environment variable "MM_ROOT" to "#{cwd}") step %(I run `middleman console` interactively) end Given /^I run the interactive middleman server$/ do cwd = File.expand_path(aruba.current_directory) step %(I set the environment variable "MM_ROOT" to "#{cwd}") step %(I run `middleman server` interactively) end
Version data entries
3 entries across 3 versions & 1 rubygems