Sha256: a4874229e3d781093104facda4589385cb7bdd5b8c32f5638e8f67eee9bb4e34

Contents?: true

Size: 293 Bytes

Versions: 14

Compression:

Stored size: 293 Bytes

Contents

require 'spec_helper'

describe "AcceptsNestedAttributes" do
  describe User do
    it { should accept_nested_attributes_for(:articles) }
    it { should accept_nested_attributes_for(:comments) }
  end

  describe Article do
    it { should accept_nested_attributes_for(:permalink) }
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
mongoid-rspec-1.13.0 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-2.0.0 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-2.0.0.rc1 spec/unit/accept_nested_attributes_spec.rb
glebtv-mongoid-rspec-3.0.0 spec/unit/accept_nested_attributes_spec.rb
mongoid4-rspec-1.11.0 spec/unit/accept_nested_attributes_spec.rb
glebtv-mongoid-rspec-1.12.0 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-1.11.0 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-1.10.0 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-1.9.0 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-1.8.2 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-1.8.1 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-1.8.0 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-1.7.0 spec/unit/accept_nested_attributes_spec.rb
mongoid-rspec-1.6.0 spec/unit/accept_nested_attributes_spec.rb