Sha256: 418969865ef2817f32ed094c5afe2b5e8f4b09f45a6ab9940cf1fd0e4bcb2ef4

Contents?: true

Size: 251 Bytes

Versions: 10

Compression:

Stored size: 251 Bytes

Contents

require "spec_helper"

describe Detour::DefinedGroupFlag do
  it { should be_a Detour::Flag }
  it { should validate_presence_of :group_name }
  it { should allow_mass_assignment_of :group_name }
  it { should validate_uniqueness_of :feature_id }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
detour-0.0.15 spec/models/detour/group_flag_spec.rb
detour-0.0.14 spec/models/detour/group_flag_spec.rb
detour-0.0.13 spec/models/detour/group_flag_spec.rb
detour-0.0.12 spec/models/detour/group_flag_spec.rb
detour-0.0.11 spec/models/detour/group_flag_spec.rb
detour-0.0.10 spec/models/detour/group_flag_spec.rb
detour-0.0.9 spec/models/detour/group_flag_spec.rb
detour-0.0.7 spec/models/detour/group_flag_spec.rb
detour-0.0.6 spec/models/detour/group_flag_spec.rb
detour-0.0.5 spec/models/detour/group_flag_spec.rb