Sha256: 95270178e94ba5b0d0ad6f65f87a6edb22fa96164b7afe257197c366fca93e8d
Contents?: true
Size: 396 Bytes
Versions: 7
Compression:
Stored size: 396 Bytes
Contents
require 'spec_helper' describe GeoConcerns::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) } it { is_expected.to eq('coverage' => coverage.to_s) } end end
Version data entries
7 entries across 7 versions & 1 rubygems