Sha256: 18aab966015bfe29b4b9bde8c1c9a2d9aa303c84d04805992e107094a7d72e3a
Contents?: true
Size: 1.28 KB
Versions: 3
Compression:
Stored size: 1.28 KB
Contents
Given /^a Cocoa app that does not have an existing Rakefile$/ do Given "a safe folder" setup_active_project_folder "sample_app" end Given /^a Cocoa app that does have an existing Rakefile$/ do Given "a Cocoa app that does not have an existing Rakefile" in_project_folder do File.open("Rakefile", "w") do |f| f << <<-RUBY.gsub(/^ /, '') require "rubygems" require "rake" RUBY end end end Given /Rakefile wired to use development code instead of installed RubyGem/ do in_project_folder do prepend_to_file "Rakefile", "$:.unshift('#{@lib_path}')" end end Given /Rakefile constants rewired for local rsync/ do end Given /^a Cocoa app with choctop installed$/ do Given "a safe folder" @remote_folder = File.expand_path(File.join(@tmp_root, 'website')) FileUtils.rm_rf @remote_folder FileUtils.mkdir_p @remote_folder `cp -r #{File.dirname(__FILE__) + "/../fixtures/SampleApp"} #{@tmp_root}/ 2> /dev/null` `rm -rf #{@tmp_root}/SampleApp/build` setup_active_project_folder "SampleApp" Given "I run local executable 'install_choctop' with arguments '.'" Given "Rakefile wired to use development code instead of installed RubyGem" Given "Rakefile constants rewired for local rsync" ENV['NO_FINDER'] = 'YES' # disable Finder during tests end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
choctop-0.9.1 | features/steps/generator.rb |
choctop-0.9.0 | features/steps/generator.rb |
choctop-0.9.2 | features/steps/generator.rb |