Sha256: 4b3a60a068c63a3eb54fe2fe938155f896654165d13a743137388c19013f7755

Contents?: true

Size: 673 Bytes

Versions: 35

Compression:

Stored size: 673 Bytes

Contents

Given /^the "([^\"]*)" directory exists$/ do |directory|
  FileUtils.mkdir_p directory
end

Given /^and I have a fake extension at (.*)$/ do |directory|
  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

35 entries across 35 versions & 3 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/compass-0.11.7/features/step_definitions/extension_steps.rb
compass-0.11.7 features/step_definitions/extension_steps.rb
compass-0.11.6 features/step_definitions/extension_steps.rb
compass-0.12.alpha.1 features/step_definitions/extension_steps.rb
compass-0.12.alpha.0 features/step_definitions/extension_steps.rb
compass-rails31-0.12.0.alpha.0.91a748a features/step_definitions/extension_steps.rb
compass-0.11.5 features/step_definitions/extension_steps.rb
compass-0.11.4 features/step_definitions/extension_steps.rb
compass-0.11.3 features/step_definitions/extension_steps.rb
compass-0.11.2 features/step_definitions/extension_steps.rb
compass-0.11.1 features/step_definitions/extension_steps.rb
compass-0.11.0 features/step_definitions/extension_steps.rb
compass-0.11.beta.7 features/step_definitions/extension_steps.rb
compass-0.11.beta.6 features/step_definitions/extension_steps.rb
compass-0.11.beta.5 features/step_definitions/extension_steps.rb
compass-0.11.beta.4 features/step_definitions/extension_steps.rb
compass-0.11.beta.3 features/step_definitions/extension_steps.rb
compass-0.11.beta.2 features/step_definitions/extension_steps.rb
compass-0.11.beta.1 features/step_definitions/extension_steps.rb
compass-0.11.beta.0 features/step_definitions/extension_steps.rb