Sha256: 343cb24512f22537a7c0624dcec014444163337972b1a83ba29d7b79add2f436
Contents?: true
Size: 1.45 KB
Versions: 3
Compression:
Stored size: 1.45 KB
Contents
require 'rspec' require 'model/models/basic_model' require 'model/models/custom_model' require 'model/models/authored_model' require 'model/models/described_model' require 'model/models/licensed_model' require 'model/models/named_model' require 'model/models/titled_model' require 'helpers/repositories' require 'ronin/spec/database' include Ronin RSpec.configure do |spec| spec.before(:suite) do BasicModel.auto_migrate! CustomModel.auto_migrate! AuthoredModel.auto_migrate! DescribedModel.auto_migrate! LicensedModel.auto_migrate! NamedModel.auto_migrate! TitledModel.auto_migrate! MyScript.auto_migrate! end spec.before(:suite) do 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-1.4.0 | spec/spec_helper.rb |
ronin-1.4.0.rc2 | spec/spec_helper.rb |
ronin-1.4.0.rc1 | spec/spec_helper.rb |