erroneous 0.1.1 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +1 -1
- data/README.rdoc +6 -9
- data/lib/erroneous/version.rb +1 -1
- metadata +16 -156
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/assets/javascripts/application.js +0 -3
- data/test/dummy/app/assets/javascripts/main.js +0 -0
- data/test/dummy/app/assets/javascripts/people.js +0 -0
- data/test/dummy/app/assets/stylesheets/application.css +0 -39
- data/test/dummy/app/assets/stylesheets/main.css +0 -0
- data/test/dummy/app/assets/stylesheets/people.css +0 -0
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/app/controllers/main_controller.rb +0 -10
- data/test/dummy/app/controllers/people_controller.rb +0 -49
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/helpers/main_helper.rb +0 -2
- data/test/dummy/app/helpers/people_helper.rb +0 -2
- data/test/dummy/app/models/person.rb +0 -16
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/app/views/main/index.html.erb +0 -5
- data/test/dummy/app/views/people/_form.html.erb +0 -27
- data/test/dummy/app/views/people/edit.html.erb +0 -3
- data/test/dummy/app/views/people/index.html.erb +0 -16
- data/test/dummy/app/views/people/new.html.erb +0 -3
- data/test/dummy/app/views/people/show.html.erb +0 -27
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -45
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/database.yml +0 -17
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -30
- data/test/dummy/config/environments/production.rb +0 -60
- data/test/dummy/config/environments/test.rb +0 -39
- data/test/dummy/config/initializers/other.rb +0 -2
- data/test/dummy/config/locales/en.yml +0 -1
- data/test/dummy/config/routes.rb +0 -7
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20110109192118_create_people.rb +0 -12
- data/test/dummy/db/production.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +0 -25
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -152
- data/test/dummy/log/test.log +0 -250
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +0 -6
- data/test/dummy/test/fixtures/people.yml +0 -5
- data/test/dummy/test/functional/main_controller_test.rb +0 -10
- data/test/dummy/test/functional/people_controller_test.rb +0 -53
- data/test/dummy/test/unit/helpers/main_helper_test.rb +0 -4
- data/test/dummy/test/unit/helpers/people_helper_test.rb +0 -4
- data/test/dummy/test/unit/person_test.rb +0 -7
- data/test/dummy/tmp/cache/assets/C7E/4A0/sprockets%2F80684416a4e6815bdae5306d295b9024 +0 -0
- data/test/dummy/tmp/cache/assets/CC4/F50/sprockets%2Fb84b903597039697e3e76b6178af6ab3 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f +0 -0
- data/test/dummy/tmp/cache/assets/D26/080/sprockets%2F14492c596885cafe7932045e4e7efd3f +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D3D/A50/sprockets%2F3022f155dee643c76e97fbbab090438d +0 -0
- data/test/dummy/tmp/cache/assets/D44/670/sprockets%2Fc49eb38f70357e0024a346a934fffc9b +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D58/1E0/sprockets%2Fdd863e40bd669f77bb549b257d88d6b5 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D73/9B0/sprockets%2Ff6eeb33602682bd6ff6d1f177f6b142d +0 -0
- data/test/dummy/tmp/cache/assets/D98/5D0/sprockets%2Fb05ff97cdfa9ad0f51f60b3604d07c80 +0 -0
- data/test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19 +0 -0
- data/test/dummy/tmp/cache/assets/DB7/6C0/sprockets%2F386e9196dd0f9efdce6f92ce93a6d107 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DF7/B60/sprockets%2Fd4e54c5507a31ff288be0c5fa21dbedf +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/erroneous_test.rb +0 -7
- data/test/test_helper.rb +0 -8
data/test/dummy/log/test.log
DELETED
@@ -1,250 +0,0 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
4
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5
|
-
Processing by MainController#index as HTML
|
6
|
-
Rendered main/index.html.erb within layouts/application (6.1ms)
|
7
|
-
Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.0ms)
|
8
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
9
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
10
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
11
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
13
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
15
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
17
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
21
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
23
|
-
Connecting to database specified by database.yml
|
24
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
25
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
26
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
|
-
Processing by MainController#index as HTML
|
28
|
-
Rendered main/index.html.erb within layouts/application (4.5ms)
|
29
|
-
Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.0ms)
|
30
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
31
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32
|
-
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "people"
|
33
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "people" ("name", "url", "email", "phone", "created_at", "updated_at", "id") VALUES ('Kevin', 'http://ksylvest.com/', 'info@ksylvest.com', '(555) 555-5555', '2012-10-27 22:11:26', '2012-10-27 22:11:26', 712064548)[0m
|
34
|
-
[1m[35m (0.8ms)[0m commit transaction
|
35
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36
|
-
[1m[35mPerson Load (0.3ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
37
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
38
|
-
Processing by PeopleController#create as HTML
|
39
|
-
Parameters: {"person"=>{"id"=>"712064548", "name"=>"Kevin", "url"=>"http://ksylvest.com/", "email"=>"info@ksylvest.com", "phone"=>"(555) 555-5555", "created_at"=>"2012-10-27 22:11:26 UTC", "updated_at"=>"2012-10-27 22:11:26 UTC"}}
|
40
|
-
WARNING: Can't mass-assign protected attributes: id
|
41
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "people" ("created_at", "email", "name", "phone", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 27 Oct 2012 22:11:26 UTC +00:00], ["email", "info@ksylvest.com"], ["name", "Kevin"], ["phone", "(555) 555-5555"], ["updated_at", Sat, 27 Oct 2012 22:11:26 UTC +00:00], ["url", "http://ksylvest.com/"]]
|
43
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44
|
-
Redirected to http://test.host/people/712064549
|
45
|
-
Completed 302 Found in 20ms (ActiveRecord: 0.0ms)
|
46
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
47
|
-
[1m[35m (1.2ms)[0m rollback transaction
|
48
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
50
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
51
|
-
Processing by PeopleController#destroy as HTML
|
52
|
-
Parameters: {"id"=>"712064548"}
|
53
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", "712064548"]]
|
54
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
55
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "people" WHERE "people"."id" = ? [["id", 712064548]]
|
56
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57
|
-
Redirected to http://test.host/people
|
58
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
59
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "people"
|
60
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
61
|
-
[1m[35m (0.1ms)[0m begin transaction
|
62
|
-
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
63
|
-
Processing by PeopleController#edit as HTML
|
64
|
-
Parameters: {"id"=>"712064548"}
|
65
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", "712064548"]]
|
66
|
-
Rendered people/_form.html.erb (13.6ms)
|
67
|
-
Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.1ms)
|
68
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69
|
-
[1m[35m (0.0ms)[0m begin transaction
|
70
|
-
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
71
|
-
Processing by PeopleController#index as HTML
|
72
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people"
|
73
|
-
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.1ms)
|
74
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
75
|
-
[1m[35m (0.0ms)[0m begin transaction
|
76
|
-
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
77
|
-
Processing by PeopleController#new as HTML
|
78
|
-
Rendered people/_form.html.erb (3.8ms)
|
79
|
-
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
80
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
81
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
82
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
83
|
-
Processing by PeopleController#show as HTML
|
84
|
-
Parameters: {"id"=>"712064548"}
|
85
|
-
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", "712064548"]]
|
86
|
-
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms)
|
87
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
88
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
90
|
-
Processing by PeopleController#update as HTML
|
91
|
-
Parameters: {"person"=>{"id"=>"712064548", "name"=>"Kevin", "url"=>"http://ksylvest.com/", "email"=>"info@ksylvest.com", "phone"=>"(555) 555-5555", "created_at"=>"2012-10-27 22:11:26 UTC", "updated_at"=>"2012-10-27 22:11:26 UTC"}, "id"=>"712064548"}
|
92
|
-
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", "712064548"]]
|
93
|
-
WARNING: Can't mass-assign protected attributes: id
|
94
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
95
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
96
|
-
Redirected to http://test.host/people/712064548
|
97
|
-
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
98
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
99
|
-
Connecting to database specified by database.yml
|
100
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
101
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
102
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
103
|
-
Processing by MainController#index as HTML
|
104
|
-
Rendered main/index.html.erb within layouts/application (4.1ms)
|
105
|
-
Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.0ms)
|
106
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
107
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108
|
-
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "people"
|
109
|
-
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "people" ("name", "url", "email", "phone", "created_at", "updated_at", "id") VALUES ('Kevin', 'http://ksylvest.com/', 'info@ksylvest.com', '(555) 555-5555', '2012-10-27 22:42:11', '2012-10-27 22:42:11', 712064548)[0m
|
110
|
-
[1m[35m (0.8ms)[0m commit transaction
|
111
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
112
|
-
[1m[35mPerson Load (0.6ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
113
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
114
|
-
Processing by PeopleController#create as HTML
|
115
|
-
Parameters: {"person"=>{"id"=>"712064548", "name"=>"Kevin", "url"=>"http://ksylvest.com/", "email"=>"info@ksylvest.com", "phone"=>"(555) 555-5555", "created_at"=>"2012-10-27 22:42:11 UTC", "updated_at"=>"2012-10-27 22:42:11 UTC"}}
|
116
|
-
WARNING: Can't mass-assign protected attributes: id
|
117
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
118
|
-
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "people" ("created_at", "email", "name", "phone", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 27 Oct 2012 22:42:11 UTC +00:00], ["email", "info@ksylvest.com"], ["name", "Kevin"], ["phone", "(555) 555-5555"], ["updated_at", Sat, 27 Oct 2012 22:42:11 UTC +00:00], ["url", "http://ksylvest.com/"]]
|
119
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
120
|
-
Redirected to http://test.host/people/712064549
|
121
|
-
Completed 302 Found in 35ms (ActiveRecord: 0.0ms)
|
122
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
123
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
124
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
125
|
-
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
126
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
127
|
-
Processing by PeopleController#destroy as HTML
|
128
|
-
Parameters: {"id"=>"712064548"}
|
129
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", "712064548"]]
|
130
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
131
|
-
[1m[35mSQL (0.4ms)[0m DELETE FROM "people" WHERE "people"."id" = ? [["id", 712064548]]
|
132
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
133
|
-
Redirected to http://test.host/people
|
134
|
-
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
135
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "people"
|
136
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
137
|
-
[1m[35m (0.1ms)[0m begin transaction
|
138
|
-
[1m[36mPerson Load (0.3ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
139
|
-
Processing by PeopleController#edit as HTML
|
140
|
-
Parameters: {"id"=>"712064548"}
|
141
|
-
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", "712064548"]]
|
142
|
-
Rendered people/_form.html.erb (18.2ms)
|
143
|
-
Completed 200 OK in 34ms (Views: 31.1ms | ActiveRecord: 0.2ms)
|
144
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
145
|
-
[1m[35m (0.1ms)[0m begin transaction
|
146
|
-
[1m[36mPerson Load (0.2ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
147
|
-
Processing by PeopleController#index as HTML
|
148
|
-
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people"
|
149
|
-
Completed 200 OK in 57ms (Views: 54.2ms | ActiveRecord: 0.2ms)
|
150
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
151
|
-
[1m[35m (0.1ms)[0m begin transaction
|
152
|
-
[1m[36mPerson Load (0.3ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
153
|
-
Processing by PeopleController#new as HTML
|
154
|
-
Rendered people/_form.html.erb (7.0ms)
|
155
|
-
Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
|
156
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
157
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
158
|
-
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
159
|
-
Processing by PeopleController#show as HTML
|
160
|
-
Parameters: {"id"=>"712064548"}
|
161
|
-
[1m[36mPerson Load (0.2ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", "712064548"]]
|
162
|
-
Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.2ms)
|
163
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
164
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
165
|
-
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
166
|
-
Processing by PeopleController#update as HTML
|
167
|
-
Parameters: {"person"=>{"id"=>"712064548", "name"=>"Kevin", "url"=>"http://ksylvest.com/", "email"=>"info@ksylvest.com", "phone"=>"(555) 555-5555", "created_at"=>"2012-10-27 22:42:11 UTC", "updated_at"=>"2012-10-27 22:42:11 UTC"}, "id"=>"712064548"}
|
168
|
-
[1m[36mPerson Load (0.2ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", "712064548"]]
|
169
|
-
WARNING: Can't mass-assign protected attributes: id
|
170
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
171
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
172
|
-
Redirected to http://test.host/people/712064548
|
173
|
-
Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
|
174
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
175
|
-
Connecting to database specified by database.yml
|
176
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
177
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
178
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
179
|
-
Processing by MainController#index as HTML
|
180
|
-
Rendered main/index.html.erb within layouts/application (3.9ms)
|
181
|
-
Completed 200 OK in 23ms (Views: 22.4ms | ActiveRecord: 0.0ms)
|
182
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
183
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
184
|
-
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "people"
|
185
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "people" ("name", "url", "email", "phone", "created_at", "updated_at", "id") VALUES ('Kevin', 'http://ksylvest.com/', 'info@ksylvest.com', '(555) 555-5555', '2012-10-27 22:42:32', '2012-10-27 22:42:32', 712064548)[0m
|
186
|
-
[1m[35m (0.8ms)[0m commit transaction
|
187
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
188
|
-
[1m[35mPerson Load (0.5ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
189
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
190
|
-
Processing by PeopleController#create as HTML
|
191
|
-
Parameters: {"person"=>{"id"=>"712064548", "name"=>"Kevin", "url"=>"http://ksylvest.com/", "email"=>"info@ksylvest.com", "phone"=>"(555) 555-5555", "created_at"=>"2012-10-27 22:42:32 UTC", "updated_at"=>"2012-10-27 22:42:32 UTC"}}
|
192
|
-
WARNING: Can't mass-assign protected attributes: id
|
193
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
194
|
-
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "people" ("created_at", "email", "name", "phone", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 27 Oct 2012 22:42:32 UTC +00:00], ["email", "info@ksylvest.com"], ["name", "Kevin"], ["phone", "(555) 555-5555"], ["updated_at", Sat, 27 Oct 2012 22:42:32 UTC +00:00], ["url", "http://ksylvest.com/"]]
|
195
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
196
|
-
Redirected to http://test.host/people/712064549
|
197
|
-
Completed 302 Found in 32ms (ActiveRecord: 0.0ms)
|
198
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
199
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
200
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
201
|
-
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
202
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "people" [0m
|
203
|
-
Processing by PeopleController#destroy as HTML
|
204
|
-
Parameters: {"id"=>"712064548"}
|
205
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", "712064548"]]
|
206
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
207
|
-
[1m[35mSQL (0.4ms)[0m DELETE FROM "people" WHERE "people"."id" = ? [["id", 712064548]]
|
208
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
209
|
-
Redirected to http://test.host/people
|
210
|
-
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
211
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "people"
|
212
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
213
|
-
[1m[35m (0.1ms)[0m begin transaction
|
214
|
-
[1m[36mPerson Load (0.3ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
215
|
-
Processing by PeopleController#edit as HTML
|
216
|
-
Parameters: {"id"=>"712064548"}
|
217
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", "712064548"]]
|
218
|
-
Rendered people/_form.html.erb (12.0ms)
|
219
|
-
Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.1ms)
|
220
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
221
|
-
[1m[35m (0.0ms)[0m begin transaction
|
222
|
-
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
223
|
-
Processing by PeopleController#index as HTML
|
224
|
-
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people"
|
225
|
-
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.2ms)
|
226
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
227
|
-
[1m[35m (0.0ms)[0m begin transaction
|
228
|
-
[1m[36mPerson Load (0.2ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", 712064548]]
|
229
|
-
Processing by PeopleController#new as HTML
|
230
|
-
Rendered people/_form.html.erb (6.2ms)
|
231
|
-
Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
|
232
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
233
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
234
|
-
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
235
|
-
Processing by PeopleController#show as HTML
|
236
|
-
Parameters: {"id"=>"712064548"}
|
237
|
-
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", "712064548"]]
|
238
|
-
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.1ms)
|
239
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
240
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
241
|
-
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1 [["id", 712064548]]
|
242
|
-
Processing by PeopleController#update as HTML
|
243
|
-
Parameters: {"person"=>{"id"=>"712064548", "name"=>"Kevin", "url"=>"http://ksylvest.com/", "email"=>"info@ksylvest.com", "phone"=>"(555) 555-5555", "created_at"=>"2012-10-27 22:42:32 UTC", "updated_at"=>"2012-10-27 22:42:32 UTC"}, "id"=>"712064548"}
|
244
|
-
[1m[36mPerson Load (0.2ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1[0m [["id", "712064548"]]
|
245
|
-
WARNING: Can't mass-assign protected attributes: id
|
246
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
247
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
248
|
-
Redirected to http://test.host/people/712064548
|
249
|
-
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
250
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
File without changes
|
data/test/dummy/script/rails
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|
@@ -1,53 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class PeopleControllerTest < ActionController::TestCase
|
4
|
-
|
5
|
-
fixtures :all
|
6
|
-
|
7
|
-
setup do
|
8
|
-
@person = people(:kevin)
|
9
|
-
end
|
10
|
-
|
11
|
-
test "should get index" do
|
12
|
-
get :index
|
13
|
-
assert_response :success
|
14
|
-
assert_not_nil assigns(:people)
|
15
|
-
end
|
16
|
-
|
17
|
-
test "should get new" do
|
18
|
-
get :new
|
19
|
-
assert_response :success
|
20
|
-
end
|
21
|
-
|
22
|
-
test "should create person" do
|
23
|
-
assert_difference('Person.count') do
|
24
|
-
post :create, :person => @person.attributes
|
25
|
-
end
|
26
|
-
|
27
|
-
assert_redirected_to person_path(assigns(:person))
|
28
|
-
end
|
29
|
-
|
30
|
-
test "should show person" do
|
31
|
-
get :show, :id => @person.id
|
32
|
-
assert_response :success
|
33
|
-
end
|
34
|
-
|
35
|
-
test "should get edit" do
|
36
|
-
get :edit, :id => @person.id
|
37
|
-
assert_response :success
|
38
|
-
end
|
39
|
-
|
40
|
-
test "should update person" do
|
41
|
-
put :update, :id => @person.id, :person => @person.attributes
|
42
|
-
assert_redirected_to person_path(assigns(:person))
|
43
|
-
end
|
44
|
-
|
45
|
-
test "should destroy person" do
|
46
|
-
assert_difference('Person.count', -1) do
|
47
|
-
delete :destroy, :id => @person.id
|
48
|
-
end
|
49
|
-
|
50
|
-
assert_redirected_to people_path
|
51
|
-
end
|
52
|
-
|
53
|
-
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/erroneous_test.rb
DELETED
data/test/test_helper.rb
DELETED