mcornick (owner)

Revisions

gist: 153395 Download_button fork
public
Public Clone URL: git://gist.github.com/153395.git
Embed All Files: show embed
rspec_cucumber_template.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
rake 'rails:freeze:gems'
 
gem 'cucumber', :env => :test
gem 'rspec', :lib => false, :env => :test
gem 'rspec-rails', :lib => false, :env => :test
gem 'webrat', :env => :test
 
rake 'gems:install gems:unpack', :env => :test
 
generate :rspec
generate :cucumber
run 'cp config/environments/test.rb config/environments/cucumber.rb'
 
run 'rm -rf log/* test'
inside 'public' do
  run 'rm -f index.html favicon.ico robots.txt images/rails.png'
end
 
file '.gitignore', 'coverage'
file 'db/.gitignore', '*.sqlite3'
file 'log/.gitignore', '*'
file 'tmp/.gitignore', '*'