Sha256: d8e2da8176f24838d3f1b6c9e5f8f0601e3455d35f4b3451cf1cacff9755525c

Contents?: true

Size: 243 Bytes

Versions: 8

Compression:

Stored size: 243 Bytes

Contents

require "spec_helper"

describe Detour::Flag do
  it { should belong_to :feature }
  it { should validate_presence_of :feature }
  it { should validate_presence_of :flaggable_type }
  it { should allow_mass_assignment_of :flaggable_type }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
detour-0.0.11 spec/models/detour/flag_spec.rb
detour-0.0.10 spec/models/detour/flag_spec.rb
detour-0.0.9 spec/models/detour/flag_spec.rb
detour-0.0.7 spec/models/detour/flag_spec.rb
detour-0.0.6 spec/models/detour/flag_spec.rb
detour-0.0.5 spec/models/detour/flag_spec.rb
detour-0.0.3 spec/models/detour/flag_spec.rb
detour-0.0.2 spec/models/detour/flag_spec.rb