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

Version Path
github_api-0.10.1 spec/github/validations_spec.rb
github_api-0.10.0 spec/github/validations_spec.rb
github_api-0.9.7 spec/github/validations_spec.rb
github_api-0.9.6 spec/github/validations_spec.rb
github_api-0.9.5 spec/github/validations_spec.rb
github_api-0.9.4 spec/github/validations_spec.rb
github_api-0.9.3 spec/github/validations_spec.rb
github_api-0.9.2 spec/github/validations_spec.rb
github_api-0.9.1 spec/github/validations_spec.rb
github_api-0.9.0 spec/github/validations_spec.rb
github_api-0.8.11 spec/github/validations_spec.rb
github_api-0.8.10 spec/github/validations_spec.rb
github_api-0.8.9 spec/github/validations_spec.rb
github_api-0.8.8 spec/github/validations_spec.rb
github_api-0.8.7 spec/github/validations_spec.rb
github_api-0.8.6 spec/github/validations_spec.rb
github_api-0.8.5 spec/github/validations_spec.rb
github_api-0.8.4 spec/github/validations_spec.rb
github_api-0.8.3 spec/github/validations_spec.rb
github_api-0.8.2 spec/github/validations_spec.rb