Sha256: 7a5740e3d2cd971df13853ed8bdbde273260b4b356154c8e12646f392e55733b
Contents?: true
Size: 840 Bytes
Versions: 1
Compression:
Stored size: 840 Bytes
Contents
# Given /^a Rails app$/ do # FileUtils.chdir(@tmp_root) do # `rails new test_project` # end # @active_project_folder = File.expand_path(File.join(@tmp_root, "test_project")) # end # Given /^I copy the project generators into "([^\"]*)"$/ do |target_folder| # in_project_folder do # FileUtils.mkdir_p(target_folder) # end # `cp -rf #{File.dirname(__FILE__) + "/../../rails_generators/*"} #{File.join(@active_project_folder, target_folder)}` # end # # When /^I add a feature file to test Rails index.html default file$/ do # sample_feature = File.expand_path(File.dirname(__FILE__) + "/../fixtures/sample_feature") # in_project_folder do # `cp -rf #{sample_feature} features/sample.feature` # end # end # # After do # in_project_folder do # Given 'I invoke task "rake culerity:rails:stop"' # end # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bobby-0.0.4 | features/step_definitions/rails_setup_steps.rb |