Sha256: 1f8ad03cb5de85080e7c132de8200d6360a93168408602c961ffc9a1e1f74f7e

Contents?: true

Size: 647 Bytes

Versions: 6

Compression:

Stored size: 647 Bytes

Contents

require 'spec_helper'

describe RGeoServer::FeatureType do
  it 'responds to API' do
    %w(
        abstract
        catalog
        data_store
        enabled
        keywords
        latlon_bounds
        metadata
        metadata_links
        name
        native_bounds
        native_name
        projection_policy
        route
        save
        title
        to_mimetype
        valid_native_bounds?
        valid_latlon_bounds?
        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/featuretype_spec.rb
rgeoserver-0.10.0 spec/unit/featuretype_spec.rb
rgeoserver-0.9.1 spec/unit/featuretype_spec.rb
rgeoserver-0.9.0 spec/unit/featuretype_spec.rb
rgeoserver-0.8.0 spec/unit/featuretype_spec.rb
rgeoserver-0.7.10 spec/unit/featuretype_spec.rb