Sha256: 31ca5d9157637b112c74a36277d3d7b67cf3703a1ad7d5870466c458e74a7f60

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

require File.expand_path('test_helper', File.dirname(__FILE__))

class ApiDocsTest < ActiveSupport::TestCase
  
  def test_truth
    assert_kind_of Module, ApiDocs
  end
  
  def test_configuration_defaults
    assert config = ApiDocs.configuration
    assert config.docs_path
    assert_equal 'ApplicationController', config.base_controller
    assert_equal %w(created_at updated_at), config.ignored_attributes
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
api_docs-1.0.1 test/api_docs_test.rb
api_docs-1.0.0 test/api_docs_test.rb