Sha256: 1930d8eb0dacfaee8cf1dd85eb5c1be9ce94dc22b6ab51961196f525c7def18b
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 'classes/my_script' require 'helpers/repositories' require 'ronin/spec/database' require 'ronin/spec/ui/output' include Ronin RSpec.configure do |spec| spec.before(:suite) do [ BasicModel, CustomModel, AuthoredModel, DescribedModel, LicensedModel, NamedModel, TitledModel, MyScript ].each(&: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.5.0 | spec/spec_helper.rb |
ronin-1.5.0.rc2 | spec/spec_helper.rb |
ronin-1.5.0.rc1 | spec/spec_helper.rb |