Sha256: 3235bbbfc60fbab772fa5be9715f8ecd43a32a386f396993dddeb6d51c939baf

Contents?: true

Size: 482 Bytes

Versions: 6

Compression:

Stored size: 482 Bytes

Contents

require 'spec_helper'

describe RGeoServer::Layer do
  it 'responds to API' do
    %w(
        alternate_styles
        attribution
        catalog
        default_style
        enabled
        layer_type
        metadata
        name
        path
        queryable
        route
        save
      ).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/layer_spec.rb
rgeoserver-0.10.0 spec/unit/layer_spec.rb
rgeoserver-0.9.1 spec/unit/layer_spec.rb
rgeoserver-0.9.0 spec/unit/layer_spec.rb
rgeoserver-0.8.0 spec/unit/layer_spec.rb
rgeoserver-0.7.10 spec/unit/layer_spec.rb