Initial import
This commit is contained in:
17
test/fixtures/attachments.yml
vendored
Normal file
17
test/fixtures/attachments.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Copyright (C) 2007, Adriano, Alinson, Andre, Rafael e Bustamante
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
one:
|
||||
id: 1
|
||||
two:
|
||||
id: 2
|
||||
19
test/fixtures/courses.yml
vendored
Normal file
19
test/fixtures/courses.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Copyright (C) 2007, Adriano, Alinson, Andre, Rafael e Bustamante
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
course_1:
|
||||
id: 1
|
||||
short_name: course1
|
||||
full_name: Firt Course
|
||||
description: Description goes here
|
||||
|
||||
23
test/fixtures/events.yml
vendored
Normal file
23
test/fixtures/events.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Copyright (C) 2007, Adriano, Alinson, Andre, Rafael e Bustamante
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
event1:
|
||||
id: 1
|
||||
course_id: 1
|
||||
created_by: 1
|
||||
title: Event 1
|
||||
date: <%= Date.today %>
|
||||
time: <%= Time.now %>
|
||||
description: A random test event
|
||||
#two:
|
||||
# id: 2
|
||||
7
test/fixtures/log_entries.yml
vendored
Normal file
7
test/fixtures/log_entries.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
|
||||
# one:
|
||||
# column: value
|
||||
#
|
||||
# two:
|
||||
# column: value
|
||||
23
test/fixtures/messages.yml
vendored
Normal file
23
test/fixtures/messages.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Copyright (C) 2007, Adriano, Alinson, Andre, Rafael e Bustamante
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
news_message:
|
||||
id: 1
|
||||
title: test
|
||||
body: test
|
||||
timestamp: <%= Time.now %>
|
||||
receiver_id: 1
|
||||
sender_id: 1
|
||||
type: News
|
||||
#two:
|
||||
# id: 2
|
||||
3
test/fixtures/notifications/forgot_password
vendored
Normal file
3
test/fixtures/notifications/forgot_password
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Notifications#forgot_password
|
||||
|
||||
Find me in app/views/notifications/forgot_password.rhtml
|
||||
46
test/fixtures/users.yml
vendored
Normal file
46
test/fixtures/users.yml
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Copyright (C) 2007, Adriano, Alinson, Andre, Rafael e Bustamante
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
bob:
|
||||
id: 1000001
|
||||
login: bob
|
||||
salt: 1000
|
||||
name: bob
|
||||
email: bob@mcbob.com
|
||||
hashed_password: 77a0d943cdbace52716a9ef9fae12e45e2788d39 # test
|
||||
display_name: bob
|
||||
last_seen: <%= Time.now %>
|
||||
admin: true
|
||||
|
||||
|
||||
existingbob:
|
||||
id: 1000002
|
||||
salt: 1000
|
||||
name: existingbob
|
||||
login: existingbob
|
||||
email: exbob@mcbob.com
|
||||
hashed_password: 77a0d943cdbace52716a9ef9fae12e45e2788d39 # test
|
||||
display_name: existingbob
|
||||
last_seen: <%= Time.now %>
|
||||
admin: false
|
||||
|
||||
longbob:
|
||||
id: 1000003
|
||||
salt: 1000
|
||||
name: longbob
|
||||
login: longbob
|
||||
email: lbob@mcbob.com
|
||||
hashed_password: 00728d3362c26746ec25963f71be022b152237a9 # longtest
|
||||
display_name: longbob
|
||||
last_seen: <%= Time.now %>
|
||||
admin: false
|
||||
Reference in New Issue
Block a user