From acd048bd0df4ea2711ed1dd0ff563e369f33632e Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Fri, 18 Dec 2015 09:28:08 +0800 Subject: [PATCH] can't properly use rspec on a boolean field validation --- spec/models/map_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/models/map_spec.rb b/spec/models/map_spec.rb index f12aa9e0..ec251d53 100644 --- a/spec/models/map_spec.rb +++ b/spec/models/map_spec.rb @@ -6,7 +6,6 @@ RSpec.describe Map, type: :model do it { is_expected.to validate_presence_of :name } it { is_expected.to validate_presence_of :permission } it { is_expected.to validate_inclusion_of(:permission).in_array Perm::ISSIONS.map(&:to_s) } - it { is_expected.to validate_inclusion_of(:arranged).in_array [true, false] } context 'permissions' do let(:owner) { create :user }