Sha256: 2f2bbb2a7a4dc8936768d51f7b2232e28b8085bedebf9acc9209d919a67bd740
Contents?: true
Size: 928 Bytes
Versions: 1
Compression:
Stored size: 928 Bytes
Contents
Given /^I symlink this repo to "([^\"]*)"$/ do |target| source = File.expand_path('../../..', __FILE__) in_current_dir do target = File.expand_path(target) FileUtils.ln_s(source, target) end end Given /^I have created a new Rails 2 app "([^\"]*)" with cucumber\-rails support$/ do |app_name| steps %Q{ Given I am using rvm "1.8.7" And I am using rvm gemset "cucumber-rails-2.3.5" with Gemfile: """ gem 'rails', '2.3.5' gem 'sqlite3-ruby', '1.2.5' gem 'capybara', '0.3.6' gem 'webrat' gem 'rspec-rails' gem 'cucumber' gem 'database_cleaner' gem 'culerity' gem 'celerity' """ And I successfully run "rails #{app_name}" And I cd to "#{app_name}" And I symlink this repo to "vendor/plugins/cucumber-rails" And I successfully run "ruby script/generate cucumber --capybara" And I successfully run "rake db:migrate" } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber-rails-0.3.1 | features/step_definitions/cucumber_rails_steps.rb |