require 'rails_helper' require 'support/privacy_example' require 'support/public_scope_example' RSpec.describe Location, type: :model do it_behaves_like 'content with privacy' it_behaves_like 'content with an is_public scope' it { is_expected.to validate_presence_of(:name) } end