diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2013-04-17 00:06:11 +0200 |
---|---|---|
committer | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-06-20 17:23:16 +0200 |
commit | eb23754ebbfbf2d465cc0f900720704fb3703633 (patch) | |
tree | 5bd1764233b59075341611b1e857d418c794d812 /actionview/test/fixtures/developer.rb | |
parent | 5bcdf4faa6da7acb762dab680372f8520a0533c2 (diff) | |
download | rails-eb23754ebbfbf2d465cc0f900720704fb3703633.tar.gz rails-eb23754ebbfbf2d465cc0f900720704fb3703633.tar.bz2 rails-eb23754ebbfbf2d465cc0f900720704fb3703633.zip |
Move template tests from actionpack to actionview
Diffstat (limited to 'actionview/test/fixtures/developer.rb')
-rw-r--r-- | actionview/test/fixtures/developer.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/actionview/test/fixtures/developer.rb b/actionview/test/fixtures/developer.rb new file mode 100644 index 0000000000..4941463015 --- /dev/null +++ b/actionview/test/fixtures/developer.rb @@ -0,0 +1,10 @@ +class Developer < ActiveRecord::Base + has_and_belongs_to_many :projects + has_many :replies + has_many :topics, :through => :replies + accepts_nested_attributes_for :projects +end + +class DeVeLoPeR < ActiveRecord::Base + self.table_name = "developers" +end |