Sha256: 1d683e6129599d3524fd57ee4fcba33480cabc8751272028c45fd1737c989bc2

Contents?: true

Size: 977 Bytes

Versions: 6

Compression:

Stored size: 977 Bytes

Contents

require 'rspec'
require 'helpers/repositories'

require 'ronin/spec/database'

include Ronin

RSpec.configure do |spec|
  spec.before(:suite) do
    MyScript.auto_migrate!

    Repository.create(
      :path => File.join(Helpers::Repositories::DIR,'local'),
      :name => 'local',
      :domain => Repository::LOCAL_DOMAIN
    )

    Repository.create(
      :path => File.join(Helpers::Repositories::DIR,'remote'),
      :uri => 'git@example.com/path/to/remote.git',
      :name => 'remote',
      :domain => 'example.com'
    )

    Repository.create(
      :path => File.join(Helpers::Repositories::DIR,'installed'),
      :uri => 'git@github.com/path/to/installed.git',
      :installed => true,
      :name => 'installed',
      :domain => 'github.com'
    )

    Repository.create(
      :path => File.join(Helpers::Repositories::DIR,'scripts'),
      :uri => 'git@github.com/path/to/scripts.git',
      :name => 'scripts',
      :domain => 'github.com'
    )
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ronin-1.3.0 spec/spec_helper.rb
ronin-1.2.0 spec/spec_helper.rb
ronin-1.1.0 spec/spec_helper.rb
ronin-1.1.0.rc3 spec/spec_helper.rb
ronin-1.1.0.rc2 spec/spec_helper.rb
ronin-1.1.0.rc1 spec/spec_helper.rb