tracks/tracks/test/fixtures/contexts.yml
lukemelia fcab16a5c2 The contexts controller gets more RESTy. It now supports XML, RSS, ATOM, HTML and plain text views of the contexts list.
Changes include:

    * Update the URL on the Feeds page to use /contexts.rss or /contexts.txt instead of FeedController? link
    * Add created_at and updated_at timestamps to contexts table to support ATOM feeds

    Notes:

    * This will break previous context listing feed subscriptions.
    


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@423 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-04 05:12:19 +00:00

88 lines
1.2 KiB
YAML

# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
<%
def today
Time.now.utc.to_s(:db)
end
%>
agenda:
id: 1
name: agenda
position: 1
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>
call:
id: 2
name: call
position: 2
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>
email:
id: 3
name: email
position: 3
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>
errand:
id: 4
name: errand
position: 4
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>
lab:
id: 5
name: lab
position: 5
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>
library:
id: 6
name: library
position: 6
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>
freetime:
id: 7
name: freetime
position: 7
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>
office:
id: 8
name: office
position: 8
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>
waitingfor:
id: 9
name: waiting for
position: 9
hide: false
user_id: 1
created_at: <%= today %>
updated_at: <%= today %>