Sha256: 71eb901789f0230268c459b3be9273290ad86fb76f1ec464085f803355e89687

Contents?: true

Size: 934 Bytes

Versions: 11

Compression:

Stored size: 934 Bytes

Contents

Given /I have a Berksfile pointing at the community API endpoint with:/ do |content|
  steps %Q{
    Given a file named "Berksfile" with:
      """
      source '#{Berkshelf::Berksfile::DEFAULT_API_URL}'

      #{content}
      """
  }
end

Given /^I have a Berksfile pointing at the local Berkshelf API$/ do
  steps %Q{
    Given I have a Berksfile pointing at the local Berkshelf API with:
      """
      """
  }
end

Given /^I have a Berksfile pointing at the local Berkshelf API with:$/ do |content|
  steps %Q{
    Given I have a Berksfile at "." pointing at the local Berkshelf API with:
      """
      #{content}
      """
  }
end

Given /^I have a Berksfile at "(.+)" pointing at the local Berkshelf API with:$/ do |path, content|
  steps %Q{
    Given a directory named "#{path}"
    And a file named "#{path}/Berksfile" with:
      """
      source 'http://127.0.0.1:#{BERKS_API_PORT}'

      #{content}
      """
  }
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
berkshelf-5.6.5 features/step_definitions/berksfile_steps.rb
berkshelf-5.6.4 features/step_definitions/berksfile_steps.rb
berkshelf-5.6.3 features/step_definitions/berksfile_steps.rb
berkshelf-5.6.2 features/step_definitions/berksfile_steps.rb
berkshelf-5.6.1 features/step_definitions/berksfile_steps.rb
berkshelf-5.6.0 features/step_definitions/berksfile_steps.rb
berkshelf-5.5.0 features/step_definitions/berksfile_steps.rb
berkshelf-5.4.0 features/step_definitions/berksfile_steps.rb
berkshelf-5.3.0 features/step_definitions/berksfile_steps.rb
berkshelf-5.2.0 features/step_definitions/berksfile_steps.rb
berkshelf-5.1.0 features/step_definitions/berksfile_steps.rb