Sha256: 8c83b7dd4757c79a0aa325ed8d1788f48aa2a84bee176f8132cbc6d1686fd23e

Contents?: true

Size: 763 Bytes

Versions: 6

Compression:

Stored size: 763 Bytes

Contents

require 'spec_helper'

describe RGeoServer::Catalog do
  it 'responds to API' do
    %w(
        config
        each_layer
        get_coverage
        get_coverage_store
        get_coverage_stores
        get_data_store
        get_data_stores
        get_default_namespace
        get_default_workspace
        get_layer
        get_layergroup
        get_layergroups
        get_style
        get_styles
        get_wms_store
        get_wms_stores
        get_workspace
        get_workspaces
        headers 
        reload
        reset
        set_default_workspace
      ).map(&:to_sym).each do |m|
      expect {
        fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
      }.not_to raise_error
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rgeoserver-0.10.1 spec/unit/catalog_spec.rb
rgeoserver-0.10.0 spec/unit/catalog_spec.rb
rgeoserver-0.9.1 spec/unit/catalog_spec.rb
rgeoserver-0.9.0 spec/unit/catalog_spec.rb
rgeoserver-0.8.0 spec/unit/catalog_spec.rb
rgeoserver-0.7.10 spec/unit/catalog_spec.rb