Sha256: a95e36f19c92dd18abde37fe626c7e067444dd2c25e8e8b8789a19df26b179a6

Contents?: true

Size: 858 Bytes

Versions: 17

Compression:

Stored size: 858 Bytes

Contents

Then %r{^remote folder "(.*)" is created} do |folder|
  FileUtils.chdir @remote_folder do
    File.exists?(folder).should be_true
  end
end

Then %r{^remote file "(.*)" (is|is not) created} do |file, is|
  FileUtils.chdir @remote_folder do
    File.exists?(file).should(is == 'is' ? be_true : be_false)
  end
end

Given /^ChocTop config is configured for local rsync$/ do
  in_project_folder do
    append_to_file "Rakefile", <<-RUBY.gsub(/^    /, '')
    $choctop.host = ""
    $choctop.remote_dir = #{@remote_folder.inspect}
    RUBY
  end
end

Given /^ChocTop config is configured for remote Sparkle$/ do
  in_project_folder do
    append_to_file "Rakefile", <<-RUBY.gsub(/^    /, '')
    $choctop.host = "mocra.com"
    $choctop.base_url = "http://mocra.com/sample_app"
    $choctop.remote_dir = "/opt/apps/mocra/downloads/sample_app"
    RUBY
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
choctop-0.14.1 features/step_definitions/remote_steps.rb
choctop-0.14.0 features/step_definitions/remote_steps.rb
choctop-0.13.1 features/step_definitions/remote_steps.rb
choctop-0.13.0 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0.8 features/step_definitions/remote_steps.rb
choctop-0.12.1 features/step_definitions/remote_steps.rb
choctop-0.12.0 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0.7 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0.6 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0.5 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0.4 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0.3 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0.2 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0.1 features/step_definitions/remote_steps.rb
billymeltdown-choctop-0.11.0 features/step_definitions/remote_steps.rb
choctop-0.11.1 features/step_definitions/remote_steps.rb
choctop-0.11.0 features/step_definitions/remote_steps.rb