Sha256: 6ff2c5e471a716a0e8d8359900249bca4d269adc9727d6e11d6d21c727594e5a
Contents?: true
Size: 419 Bytes
Versions: 5
Compression:
Stored size: 419 Bytes
Contents
require "aruba/api" module ArubaHelpers def insert_into_file_after(file, pattern, addition) content = prep_for_fs_check { IO.read(file) } content.sub!(pattern, "\\0\n#{addition}") overwrite_file(file, content) end end RSpec.configure do |config| config.include(Aruba::Api) config.include(ArubaHelpers) config.before do @aruba_timeout_seconds = 60 FileUtils.rm_rf(current_dir) end end
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
seielit-figaro-1.1.2 | spec/support/aruba.rb |
figaro-1.1.1 | spec/support/aruba.rb |
figaro-1.1.0 | spec/support/aruba.rb |
figaro-1.0.0 | spec/support/aruba.rb |
figaro-1.0.0.rc1 | spec/support/aruba.rb |