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

Version Path
scenic-1.8.0 spec/acceptance_helper.rb
scenic-1.7.0 spec/acceptance_helper.rb
scenic-1.6.0 spec/acceptance_helper.rb
scenic-1.5.5 spec/acceptance_helper.rb
scenic-jets-1.5.5 spec/acceptance_helper.rb
scenic-jets-1.5.4 spec/acceptance_helper.rb
scenic-1.5.4 spec/acceptance_helper.rb
scenic-1.5.3 spec/acceptance_helper.rb
scenic-1.5.2 spec/acceptance_helper.rb
scenic-1.5.1 spec/acceptance_helper.rb
scenic-1.5.0 spec/acceptance_helper.rb
scenic-1.4.1 spec/acceptance_helper.rb
scenic-1.4.0 spec/acceptance_helper.rb