Corrigindo testes e licenca
This commit is contained in:
17
test/fixtures/attachments.yml
vendored
17
test/fixtures/attachments.yml
vendored
@@ -1,15 +1,18 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Wiki UFC
|
||||
# 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 free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 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.
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
one:
|
||||
id: 1
|
||||
|
||||
17
test/fixtures/courses.yml
vendored
17
test/fixtures/courses.yml
vendored
@@ -1,15 +1,18 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Wiki UFC
|
||||
# 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 free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 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.
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
course_1:
|
||||
id: 1
|
||||
|
||||
19
test/fixtures/events.yml
vendored
19
test/fixtures/events.yml
vendored
@@ -1,22 +1,25 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Wiki UFC
|
||||
# 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 free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 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.
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
event1:
|
||||
id: 1
|
||||
course_id: 1
|
||||
created_by: 1
|
||||
title: Event 1
|
||||
time: <%= Time.now %>
|
||||
time: <%= Time.now.to_s(:db) %>
|
||||
description: A random test event
|
||||
#two:
|
||||
# id: 2
|
||||
|
||||
16
test/fixtures/log_entries.yml
vendored
16
test/fixtures/log_entries.yml
vendored
@@ -1,4 +1,18 @@
|
||||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
# Wiki UFC
|
||||
# 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 Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# one:
|
||||
# column: value
|
||||
|
||||
19
test/fixtures/messages.yml
vendored
19
test/fixtures/messages.yml
vendored
@@ -1,21 +1,24 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Wiki UFC
|
||||
# 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 free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 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.
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
news_message:
|
||||
id: 1
|
||||
title: test
|
||||
body: test
|
||||
timestamp: <%= Time.now %>
|
||||
timestamp: <%= Time.now.to_s(:db) %>
|
||||
receiver_id: 1
|
||||
sender_id: 1
|
||||
type: News
|
||||
|
||||
23
test/fixtures/users.yml
vendored
23
test/fixtures/users.yml
vendored
@@ -1,15 +1,18 @@
|
||||
# Engenharia de Software 2007.1
|
||||
# Wiki UFC
|
||||
# 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 free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 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.
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
bob:
|
||||
id: 1000001
|
||||
@@ -19,7 +22,7 @@ bob:
|
||||
email: bob@mcbob.com
|
||||
hashed_password: 77a0d943cdbace52716a9ef9fae12e45e2788d39 # test
|
||||
display_name: bob
|
||||
last_seen: <%= Time.now %>
|
||||
last_seen: <%= Time.now.to_s(:db) %>
|
||||
admin: true
|
||||
secret: bob
|
||||
|
||||
@@ -31,7 +34,7 @@ existingbob:
|
||||
email: exbob@mcbob.com
|
||||
hashed_password: 77a0d943cdbace52716a9ef9fae12e45e2788d39 # test
|
||||
display_name: existingbob
|
||||
last_seen: <%= Time.now %>
|
||||
last_seen: <%= Time.now.to_s(:db) %>
|
||||
admin: false
|
||||
secret: existingbob
|
||||
|
||||
@@ -43,6 +46,6 @@ longbob:
|
||||
email: lbob@mcbob.com
|
||||
hashed_password: 00728d3362c26746ec25963f71be022b152237a9 # longtest
|
||||
display_name: longbob
|
||||
last_seen: <%= Time.now %>
|
||||
last_seen: <%= Time.now.to_s(:db) %>
|
||||
admin: false
|
||||
secret: longbob
|
||||
|
||||
Reference in New Issue
Block a user