Class: Pah::Templates::Capybara

Inherits:
Pah::Template
  • Object
show all
Defined in:
lib/pah/templates/capybara.rb

Instance Method Summary collapse

Methods inherited from Pah::Template

#ask_unless_test, #copy_static_file, #git_commit, #static_files, #will_you_like_to?

Instance Method Details

#callObject



4
5
6
7
8
9
# File 'lib/pah/templates/capybara.rb', line 4

def call
  copy_static_file 'spec/support/capybara.rb'

  git add: 'spec/'
  git_commit 'Add capybara helpers.'
end