Sha256: 4cefef4e526a18a26846e020659d3ced6ab49be41a082ac34752b12ade444821
Contents?: true
Size: 400 Bytes
Versions: 13
Compression:
Stored size: 400 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Github::Validations::Presence do let(:validator) { Class.new.extend(described_class) } context '#_validate_presence_of' do it 'throws error if passed param is nil' do gist_id = nil expect { validator._validate_presence_of gist_id }.to raise_error(ArgumentError) end end end # Github::Validations::Presence
Version data entries
13 entries across 13 versions & 1 rubygems