Sha256: a515a89d5c4b0b90c33381406dd03184ea4a7b74d747fac88007a6710f730a63

Contents?: true

Size: 693 Bytes

Versions: 10

Compression:

Stored size: 693 Bytes

Contents

RSpec.configure do |config|
  fixtures_path = File.expand_path('../../fixtures', __FILE__)
  dummy_path = File.join(fixtures_path, 'dummy')
  origin_path = File.join(fixtures_path, 'origin.git')

  config.before(:each) do
    [dummy_path, origin_path].each do |path|
      FileUtils.rm_rf(path) if Dir.exists?(path)
      FileUtils.mkdir_p(path)
    end
    Dir.chdir(dummy_path)
    system('git init .')
    system('touch dummy.txt')
    system('git add .')
    system('git commit -m"init commit"')
    Dir.chdir(origin_path)
    system('git init . --bare')
    Dir.chdir(dummy_path)
    system("git remote add origin file://#{origin_path}")
    system("git push -u origin master")
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pt-flow-2.7.0 spec/support/dummy.rb
pt-flow-2.6.1 spec/support/dummy.rb
pt-flow-2.6.0 spec/support/dummy.rb
pt-flow-2.5.0 spec/support/dummy.rb
pt-flow-2.4.0 spec/support/dummy.rb
pt-flow-2.3.3 spec/support/dummy.rb
pt-flow-2.3.2 spec/support/dummy.rb
pt-flow-2.3.1 spec/support/dummy.rb
pt-flow-2.3.0 spec/support/dummy.rb
pt-flow-2.2.1 spec/support/dummy.rb