Sha256: db150daf18aef2bba6cb476efb63f256bc092f80f8d6f3467f6d96d02894f687
Contents?: true
Size: 410 Bytes
Versions: 1
Compression:
Stored size: 410 Bytes
Contents
require 'spec_helper' describe GithubCLI::Config do context '#config' do it 'sets global config' do instance = stub described_class.stub(:new) { instance } GithubCLI.should_receive(:const_set).with(:CONFIG, instance) described_class.config end it 'returns config type' do described_class.config.should be_a GithubCLI::Config end end end # GithubCLI::Config
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.0.1.pre | spec/github_cli/config_spec.rb |