Sha256: 13d938fcea6cc10e9357b8253bc187a3a8030c87f9948740c393da91fba24103

Contents?: true

Size: 801 Bytes

Versions: 48

Compression:

Stored size: 801 Bytes

Contents

Given /^the "([^\"]*)" directory exists$/ do |directory|
  directory.gsub!('~', ENV["HOME"]) if directory.include?('~/')
  FileUtils.mkdir_p directory
end

Given /^and I have a fake extension at (.*)$/ do |directory|
  directory.gsub!('~', ENV["HOME"]) if directory.include?('~/')
  FileUtils.mkdir_p File.join(directory, 'stylesheets')
  FileUtils.mkdir_p File.join(directory, 'templates/project')
  open(File.join(directory, 'templates/project/manifest.rb'),"w") do |f|
    f.puts %Q{
      description "This is a fake extension"

      help "this is the fake help"

      welcome_message "this is a fake welcome"
    }
  end
end

Then /^the list of frameworks includes "([^\"]*)"$/ do |framework|
  @last_result.split("\n").map{|f| f.gsub(/(^\s+[*-]\s+)|(\s+$)/,'')}.should include(framework)
end

Version data entries

48 entries across 47 versions & 4 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/compass-1.0.3/features/step_definitions/extension_steps.rb
compass-1.0.3 features/step_definitions/extension_steps.rb
compass-1.1.0.alpha.3 features/step_definitions/extension_steps.rb
compass-1.1.0.alpha.2 features/step_definitions/extension_steps.rb
compass-1.1.0.alpha.1 features/step_definitions/extension_steps.rb
compass-1.1.0.alpha.0 features/step_definitions/extension_steps.rb
compass-1.0.1 features/step_definitions/extension_steps.rb
compass-1.0.0 features/step_definitions/extension_steps.rb
compass-1.0.0.rc.1 features/step_definitions/extension_steps.rb
compass-1.0.0.rc.0 features/step_definitions/extension_steps.rb
compass-0.12.7 features/step_definitions/extension_steps.rb
compass-1.0.0.alpha.21 features/step_definitions/extension_steps.rb
compass-1.0.0.alpha.20 features/step_definitions/extension_steps.rb
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/features/step_definitions/extension_steps.rb
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/features/step_definitions/extension_steps.rb
compass-0.12.6 features/step_definitions/extension_steps.rb
compass-0.12.5 features/step_definitions/extension_steps.rb
compass-0.12.4 features/step_definitions/extension_steps.rb
compass-1.0.0.alpha.19 features/step_definitions/extension_steps.rb
compass-0.12.3 features/step_definitions/extension_steps.rb