Replace cucumber features by rails integration specs

This commit is contained in:
Thibault Jouan
2011-09-13 23:47:59 +00:00
parent 638d379ec6
commit 639293e4ca
26 changed files with 170 additions and 615 deletions

View File

@@ -1,8 +0,0 @@
<%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
%>
default: <%= std_opts %> features
wip: --tags @wip:3 --wip features
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip

View File

@@ -15,6 +15,3 @@ test: &test
production:
<<: *common
database: scube_production
cucumber:
<<: *test