Sha256: ddedbe6dc71d82eb52b5fe8a18d7d481b04192b17b7a3b51f437132cb7139bc9
Contents?: true
Size: 693 Bytes
Versions: 37
Compression:
Stored size: 693 Bytes
Contents
require 'spec_helper' describe Github::Validations do let(:validator) { Class.new.send(:include, described_class) } it 'includes parameters presence validations' do validator.included_modules.should include Github::Validations::Presence end it 'includes authentication token validations' do validator.included_modules.should include Github::Validations::Token end it 'includes parameters values format validations' do validator.included_modules.should include Github::Validations::Format end it 'includes required parameters presence validations' do validator.included_modules.should include Github::Validations::Required end end # Github::Validations
Version data entries
37 entries across 37 versions & 1 rubygems