Sha256: f118c63413a9a955edfc5be9d058daa031df6bafddac1c1226c27c3ce92b1e35

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

require "spec_helper"

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