Sha256: f1d71e49fb96397110ee2d4f0c51dfdc10d7ce33fb6149647c28b4b2e0d81bc8

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

require "spec_helper"

describe Detour::GroupFlag 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

3 entries across 3 versions & 1 rubygems

Version Path
detour-0.0.3 spec/models/detour/group_flag_spec.rb
detour-0.0.2 spec/models/detour/group_flag_spec.rb
detour-0.0.1 spec/lib/active_record/rollout/group_flag_spec.rb