lib/borg/borg_cucumber.rb in borg-0.0.6 vs lib/borg/borg_cucumber.rb in borg-0.0.7
- old
+ new
@@ -4,10 +4,10 @@
def run(n = 3)
redirect_stdout()
load_environment('cucumber')
- remove_file_groups_from_redis('cucumber') do |index,feature_files|
+ remove_file_groups_from_redis('cucumber',n) do |index,feature_files|
prepare_databse(index) unless try_migration_first(index)
full_feature_path = feature_files.split(',').map do |fl|
Rails.root.to_s + fl
end
args = %w(--format progress) + full_feature_path