metamaps--metamaps/spec/models/mapping_spec.rb
Connor Turland 0441850504 Secret.convo (#1059)
* set up for using secret css/js

* testing

* add stuff

* final tweak for secret convos

* looks like its all working

* realized this change is just good all around

* minor touch ups

* only us for now

* no longer validate presence of xloc/yloc

* fix syntax issue
2017-02-05 14:30:23 -05:00

10 lines
326 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
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 :map }
it { is_expected.to validate_presence_of :mappable }
end