aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-04-30 15:00:59 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-04-30 15:00:59 -0500
commit5cef8bcc549bf714c1c73e658fd96d5fea0fab84 (patch)
tree38df6489f738b620a49ca163051b2a3bf2ff20e6 /actionpack/test/fixtures
parentd327496ab7499d7000f4a6c57173219a8738bed0 (diff)
downloadrails-5cef8bcc549bf714c1c73e658fd96d5fea0fab84.tar.gz
rails-5cef8bcc549bf714c1c73e658fd96d5fea0fab84.tar.bz2
rails-5cef8bcc549bf714c1c73e658fd96d5fea0fab84.zip
Forgot these
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/mascot.rb3
-rw-r--r--actionpack/test/fixtures/mascots.yml4
-rw-r--r--actionpack/test/fixtures/mascots/_mascot.html.erb1
3 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/mascot.rb b/actionpack/test/fixtures/mascot.rb
new file mode 100644
index 0000000000..f9f1448b8f
--- /dev/null
+++ b/actionpack/test/fixtures/mascot.rb
@@ -0,0 +1,3 @@
+class Mascot < ActiveRecord::Base
+ belongs_to :company
+end \ No newline at end of file
diff --git a/actionpack/test/fixtures/mascots.yml b/actionpack/test/fixtures/mascots.yml
new file mode 100644
index 0000000000..17b7dff454
--- /dev/null
+++ b/actionpack/test/fixtures/mascots.yml
@@ -0,0 +1,4 @@
+upload_bird:
+ id: 1
+ company_id: 1
+ name: The Upload Bird \ No newline at end of file
diff --git a/actionpack/test/fixtures/mascots/_mascot.html.erb b/actionpack/test/fixtures/mascots/_mascot.html.erb
new file mode 100644
index 0000000000..432773a1da
--- /dev/null
+++ b/actionpack/test/fixtures/mascots/_mascot.html.erb
@@ -0,0 +1 @@
+<%= mascot.name %> \ No newline at end of file