Sha256: e8a4abf0b9af1b2ec606f0c38f67b70679858213ba5b2016b9d1789762b9b12b
Contents?: true
Size: 282 Bytes
Versions: 1
Compression:
Stored size: 282 Bytes
Contents
require "spec_helper" describe Detour::OptOutFlag do it { should be_a Detour::Flag } it { should belong_to :flaggable } it { should validate_presence_of :flaggable_id } it { should allow_mass_assignment_of :flaggable} it { should validate_uniqueness_of :feature_id } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
detour-0.0.1 | spec/lib/active_record/rollout/opt_out_flag_spec.rb |