From a3788377d8837a0137e475779f343e3b3671b53b Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sun, 5 Feb 2017 19:23:02 +0000 Subject: [PATCH] no longer validate presence of xloc/yloc --- spec/models/mapping_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/models/mapping_spec.rb b/spec/models/mapping_spec.rb index 343c19ee..2f0db8f2 100644 --- a/spec/models/mapping_spec.rb +++ b/spec/models/mapping_spec.rb @@ -5,8 +5,6 @@ RSpec.describe Mapping, type: :model do it { is_expected.to belong_to :user } it { is_expected.to belong_to :map } it { is_expected.to belong_to :mappable } - it { is_expected.to validate_presence_of :xloc } - it { is_expected.to validate_presence_of :yloc } it { is_expected.to validate_presence_of :map } it { is_expected.to validate_presence_of :mappable } end