From c7f7fa1d1bd64323cb14a7d1b86525af4fc27fdd Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Fri, 18 Dec 2015 09:35:56 +0800 Subject: [PATCH] reorganize synapse spec pendingness --- spec/models/synapse_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/synapse_spec.rb b/spec/models/synapse_spec.rb index 51a23647..17fc8cdd 100644 --- a/spec/models/synapse_spec.rb +++ b/spec/models/synapse_spec.rb @@ -1,8 +1,6 @@ require 'rails_helper' RSpec.describe Synapse, type: :model do - pending "add some examples to (or delete) #{__FILE__}" - pending "validate that desc can't be nil - important for javascript" it { is_expected.to belong_to :user } it { is_expected.to belong_to :topic1 } it { is_expected.to belong_to :topic2 } @@ -11,6 +9,8 @@ RSpec.describe Synapse, type: :model do it { is_expected.to validate_presence_of :permission } it { is_expected.to validate_inclusion_of(:permission).in_array Perm::ISSIONS.map(&:to_s) } + pending "validate that desc can't be nil - important for javascript" + context 'permissions' do let(:owner) { create :user } let(:other_user) { create :user }