Updated to latest rspec
[gitorious:georgyos-clone.git] / vendor / plugins / rspec-rails / spec / rails / mocks / ar_classes.rb
1 class MockableModel < ActiveRecord::Base
2   has_one :associated_model
3 end
4
5 class SubMockableModel < MockableModel
6 end
7
8 class AssociatedModel < ActiveRecord::Base
9   belongs_to :mockable_model
10 end