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.8.1 spec/github/validations_spec.rb
github_api-0.8.0 spec/github/validations_spec.rb
github_api-0.7.2 spec/github/validations_spec.rb
github_api-0.7.1 spec/github/validations_spec.rb
github_api-0.7.0 spec/github/validations_spec.rb
github_api-0.6.5 spec/github/validations_spec.rb
github_api-0.6.4 spec/github/validations_spec.rb
github_api-0.6.3 spec/github/validations_spec.rb
github_api-0.6.2 spec/github/validations_spec.rb
github_api-0.6.1 spec/github/validations_spec.rb
github_api-0.6.0 spec/github/validations_spec.rb
github_api-0.5.4 spec/github/validations_spec.rb
github_api-0.5.3 spec/github/validations_spec.rb
github_api-0.5.2 spec/github/validations_spec.rb
github_api-0.5.1 spec/github/validations_spec.rb
github_api-0.5.0 spec/github/validations_spec.rb
github_api-0.5.0.rc1 spec/github/validations_spec.rb