Sha256: 199e554e1c55b73b3020a336b644933b8760afa86c35e4e3268f1914643be67f
Contents?: true
Size: 670 Bytes
Versions: 13
Compression:
Stored size: 670 Bytes
Contents
require "bundler" ENV["RAILS_ENV"] = "test" RSpec.configure do |config| config.around(:each) do |example| Dir.chdir("spec/dummy") do example.run end end config.before(:suite) do Dir.chdir("spec/dummy") do system <<-CMD git init 1>/dev/null && git add -A && git commit --no-gpg-sign --message 'initial' 1>/dev/null CMD end end config.after(:suite) do Dir.chdir("spec/dummy") do system <<-CMD echo && rake db:environment:set db:drop db:create && git add -A && git reset --hard HEAD 1>/dev/null && rm -rf .git/ 1>/dev/null CMD end end end
Version data entries
13 entries across 13 versions & 2 rubygems