Sha256: 06fd99c9d64ee6dd48fe8ec4d66b1753f0262c1fd5a8dc0275bf8ad04d7f1a6e
Contents?: true
Size: 423 Bytes
Versions: 14
Compression:
Stored size: 423 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe Github::API, '#set' do after { reset_authentication_for subject } it 'requires value to be set' do expect { subject.set :option }.to raise_error(ArgumentError) end it 'accepts more than one option' do subject.set :user => 'user-name', :repo => 'repo-name' subject.user.should == 'user-name' subject.repo.should == 'repo-name' end end
Version data entries
14 entries across 14 versions & 1 rubygems