Sha256: 13cbc0b83753886af67ecf0a5a58494d52be1aaa30b906fc764421a9ead37496

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

require "spec_helper"

describe Detour::FlaggableFlag 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/flaggable_flag_spec.rb