Sha256: ea857996c8194b543edd57d66068736b17113c708ca7a7836f3494e373904f7c
Contents?: true
Size: 707 Bytes
Versions: 1
Compression:
Stored size: 707 Bytes
Contents
require 'spec_helper' describe Anvil::Config do subject { Anvil::Config } before { Anvil::Config.reset } its('github.user') { should be_nil } its('github.token') { should be_nil } context 'with a config file', config: true do its('github.user') { should eq('dummy_user') } its('github.token') { should eq('dummy_token') } end context '.init_base_path' do before { Anvil::Config.send :init_base_path } subject { File } it { should be_directory(Anvil::Config.base_path) } it { should be_directory(Anvil::Config.base_tasks_path) } it { should be_exists(Anvil::Config.base_config_path) } it { should be_exists(Anvil::Config.base_projects_path) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
anvil-core-0.0.1.alpha.1 | spec/lib/config_spec.rb |