Sha256: dbe9f99a2b3659b5146f26154487642d25b63b97a2f0beb2810f68b1932b326c
Contents?: true
Size: 457 Bytes
Versions: 19
Compression:
Stored size: 457 Bytes
Contents
require 'spec_helper' describe GithubCLI::Helpers do subject { described_class } it 'throws error if config file does not exist' do pending subject.stub(:find_configfile).and_return nil expect { subject.default_configfile }.to raise_error(GithubCLI::ConfigFileNotFound) end it 'finds current directory' do current = File.expand_path('../../../', __FILE__) described_class.find_configfile.should == current end end
Version data entries
19 entries across 19 versions & 1 rubygems