Sha256: 184be7b2c4134cc7caafc3ca42a65500584ffb7052c3c1b35334913054c9627f
Contents?: true
Size: 378 Bytes
Versions: 5
Compression:
Stored size: 378 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Github::ApiFactory, :type => :base do context '#new' do it 'throws error if klass type is ommitted' do expect { described_class.new nil }.to raise_error(ArgumentError) end it 'instantiates a new object' do described_class.new('Repos').should be_a Github::Repos end end end # Github::ApiFactory
Version data entries
5 entries across 5 versions & 1 rubygems