Sha256: 6baf3153c0ad763f08e21cfe3a205dafa2203c5312a76b196a8559a2bc3e0c88

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

require "spec_helper"

describe ActiveRecord::Rollout::Flag do
  it { should belong_to :feature }
  it { should validate_presence_of :feature_id }
  it { should validate_presence_of :flaggable_type }
  it { should allow_mass_assignment_of :flaggable_type }
end

Version data entries

1 entries across 1 versions & 1 rubygems

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