Sha256: e6989c8d4a3b8d75fa0bac930b47a7650ad66a0771c8aaf4d25cb7c19e05e3b0

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

require "spec_helper"

describe ActiveRecord::Rollout::OptOutFlag do
  it { should be_a ActiveRecord::Rollout::Flag }
  it { should belong_to :flaggable }
  it { should validate_presence_of :flaggable_id }
  it { should allow_mass_assignment_of :flaggable}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_record_rollout-0.0.1 spec/lib/active_record/rollout/opt_out_flag_spec.rb