Sha256: 43ba6f74f0800e08dc25cd4e9896fd6182b134e50f3aad6e3f63ad74084302bc
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' describe ModuleSync::SourceCode do before do options = ModuleSync.config_defaults.merge({ git_base: 'file:///tmp/dummy', }) ModuleSync.instance_variable_set '@options', options end subject do ModuleSync::SourceCode.new('namespace/name', nil) end it 'has a repository namespace sets to "namespace"' do expect(subject.repository_namespace).to eq 'namespace' end it 'has a repository name sets to "name"' do expect(subject.repository_name).to eq 'name' end end
Version data entries
5 entries across 5 versions & 1 rubygems