Sha256: c61f03af37a1b9978a5836c1527e1e5ec3f6dd148860c5373a5803d83da0faa3
Contents?: true
Size: 418 Bytes
Versions: 4
Compression:
Stored size: 418 Bytes
Contents
require 'spec_helper' describe CurationConcerns::ImageWorkForm do let(:coverage) { GeoConcerns::Coverage.new(43.039, -69.856, 42.943, -71.032) } let(:raw_attributes) { ActionController::Parameters.new(coverage: coverage.to_s) } describe ".model_attributes" do subject { described_class.model_attributes(raw_attributes).to_unsafe_h } it { is_expected.to include('coverage' => coverage.to_s) } end end
Version data entries
4 entries across 4 versions & 1 rubygems