Class: Eastrails::Components::Cucumber
Instance Method Summary collapse
Methods inherited from Base
#component_installed?, #dir_html_to_haml, #do_if_installed, #file_html_to_haml, #gems, #html_to_haml, #parse_gemfile
Methods inherited from Generator
Constructor Details
This class inherits a constructor from Eastrails::Generator
Instance Method Details
#add ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/eastrails/components/cucumber.rb', line 4 def add gem 'cucumber-rails', '>= 1.3.0', :group => :test, :require => false gem 'database_cleaner', :group => :test gem 'capybara', '>= 2.0.1', :group => :test system 'bundle install' system 'rails g cucumber:install -f' gsub_file 'config/cucumber.yml', /std_opts = "/, 'std_opts = "-r features/support/ -r features/step_definitions ' end |