test/dummy/log/test.log in lunar_shell-0.4.1 vs test/dummy/log/test.log in lunar_shell-0.5.0
- old
+ new
@@ -39370,5 +39370,413 @@
Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms)
Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms)
Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (3.9ms)
Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.7ms)
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36mActiveRecord::SchemaMigration Load (6.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "lunar_shell_users"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hRV2lr6lKshNpdhvWG9PJOBCi.VzhGctSh84DUvk2aJ5EyLIRCS06', 'root', '2016-06-26 19:57:58', '2016-06-26 19:57:58', 135138680)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$r/CHCukrRHdveDd9.CldMO267UjaGtTHKtb8ovBusgDb1r8s7xZui', 'dave', '2016-06-26 19:57:58', '2016-06-26 19:57:58', 227792459)
+ [1m[36m (65.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+-------------------------------
+HistoryTest: test_shows_history
+-------------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:00 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms)
+ [1m[35mLunarShell::User Load (1.1ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.0ms)
+Completed 200 OK in 496ms (Views: 486.7ms | ActiveRecord: 1.1ms)
+Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-26 12:58:01 -0700
+Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-26 12:58:01 -0700
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:01 -0700
+Processing by LunarShell::Satellites::ExitController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
+ [1m[36mLunarShell::User Load (0.6ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (27.4ms)
+Completed 200 OK in 51ms (Views: 48.1ms | ActiveRecord: 0.6ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:01 -0700
+Processing by LunarShell::Satellites::QuitController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
+ [1m[36mLunarShell::User Load (0.4ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms)
+Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.4ms)
+Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:02 -0700
+Processing by LunarShell::Satellites::HistoryController#run as */*
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms)
+Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:02 -0700
+Processing by LunarShell::Satellites::HistoryController#run as */*
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms)
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:04 -0700
+Processing by LunarShell::Satellites::HistoryController#run as */*
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms)
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:06 -0700
+Processing by LunarShell::Satellites::HistoryController#run as */*
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
+Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:08 -0700
+Processing by LunarShell::Satellites::HistoryController#run as */*
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms)
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:10 -0700
+Processing by LunarShell::Satellites::HistoryController#run as */*
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms)
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "lunar_shell_users"[0m
+ [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$/ku6WpiPUGkgUH/KJX./NOOkw2ej7s9UMuLzkZWN1xf5UTW153bye', 'root', '2016-06-26 19:58:10', '2016-06-26 19:58:10', 135138680)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$imr8ZLuypXAwS6PXfIPXW.0iUOY9SeFbjLlJ7bOKiEUd/gwJQoS7W', 'dave', '2016-06-26 19:58:10', '2016-06-26 19:58:10', 227792459)[0m
+ [1m[35m (1.2ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL[0m
+ [1m[35m (0.1ms)[0m BEGIN
+--------------------------
+PasswdTest: test_logged_in
+--------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:10 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[36mLunarShell::User Load (0.6ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms)
+Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.6ms)
+ [1m[35mLunarShell::User Load (0.2ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:10 -0700
+Processing by LunarShell::Satellites::SuController#run as JS
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.5ms)
+Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:10 -0700
+Processing by LunarShell::Satellites::SuController#create as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
+ [1m[36mLunarShell::User Load (0.5ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms)
+Completed 200 OK in 19ms (Views: 15.9ms | ActiveRecord: 0.5ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:11 -0700
+Processing by LunarShell::Satellites::PasswdController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
+ [1m[35mLunarShell::User Load (0.8ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.4ms)
+Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.8ms)
+Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-26 12:58:11 -0700
+Processing by LunarShell::Satellites::PasswdController#new_password as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms)
+Completed 200 OK in 16ms (Views: 15.9ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-26 12:58:11 -0700
+Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms)
+Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-26 12:58:11 -0700
+Processing by LunarShell::Satellites::PasswdController#create as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
+ [1m[36mLunarShell::User Load (0.8ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3[0m [["password_digest", "$2a$04$BWqaiG1zQM/EkAaLgafKJ.gmJ.VCjSKRf/TpMuEnp9WvSQ/z5Pa.u"], ["updated_at", "2016-06-26 19:58:11.464160"], ["id", 227792459]]
+ [1m[35m (6.0ms)[0m COMMIT
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.8ms)
+Completed 200 OK in 32ms (Views: 15.8ms | ActiveRecord: 7.4ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+------------------------------
+PasswdTest: test_not_logged_in
+------------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:11 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[36mLunarShell::User Load (0.3ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms)
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:11 -0700
+Processing by LunarShell::Satellites::PasswdController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
+ [1m[35mLunarShell::User Load (0.4ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms)
+Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+------------------------
+ExitTest: test_logged_in
+------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:13 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[36mLunarShell::User Load (0.3ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms)
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
+ [1m[35mLunarShell::User Load (0.6ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:13 -0700
+Processing by LunarShell::Satellites::SuController#run as JS
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.7ms)
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:13 -0700
+Processing by LunarShell::Satellites::SuController#create as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
+ [1m[36mLunarShell::User Load (0.5ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ [1m[35mLunarShell::User Load (0.3ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms)
+Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.7ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:14 -0700
+Processing by LunarShell::Satellites::ExitController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
+ [1m[36mLunarShell::User Load (0.8ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (0.9ms)
+Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+----------------------------
+ExitTest: test_not_logged_in
+----------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:16 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[36mLunarShell::User Load (0.3ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms)
+Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:16 -0700
+Processing by LunarShell::Satellites::ExitController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
+ [1m[35mLunarShell::User Load (0.5ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms)
+Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+------------------------------
+ClearTest: test_clears_history
+------------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:16 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[35mLunarShell::User Load (0.3ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms)
+Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:16 -0700
+Processing by LunarShell::Satellites::ClearController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
+ [1m[36mLunarShell::User Load (0.3ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (1.9ms)
+Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+-------------------
+SuTest: test_log_in
+-------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:16 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[35mLunarShell::User Load (0.3ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms)
+Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)
+ [1m[36mLunarShell::User Load (0.2ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1[0m [["id", 227792459]]
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:16 -0700
+Processing by LunarShell::Satellites::SuController#run as JS
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms)
+Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:16 -0700
+Processing by LunarShell::Satellites::SuController#create as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
+ [1m[35mLunarShell::User Load (0.5ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ [1m[36mLunarShell::User Load (0.4ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms)
+Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+-------------------------------
+SuTest: test_can_substitue_user
+-------------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:16 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[35mLunarShell::User Load (0.5ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms)
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.5ms)
+ [1m[36mLunarShell::User Load (0.2ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1[0m [["id", 227792459]]
+ [1m[35mLunarShell::User Load (0.2ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:17 -0700
+Processing by LunarShell::Satellites::SuController#run as JS
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms)
+Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:17 -0700
+Processing by LunarShell::Satellites::SuController#create as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
+ [1m[36mLunarShell::User Load (0.4ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ [1m[35mLunarShell::User Load (0.3ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms)
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.7ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:17 -0700
+Processing by LunarShell::Satellites::SuController#run as JS
+ Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms)
+Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:17 -0700
+Processing by LunarShell::Satellites::SuController#create as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}}
+ [1m[36mLunarShell::User Load (0.5ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms)
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+--------------------------------
+NoCommandTest: test_nothing_sent
+--------------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:17 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
+ [1m[35mLunarShell::User Load (0.3ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:17 -0700
+Processing by LunarShell::SatellitesController#run as JS
+ Parameters: {"utf8"=>"✓", "error"=>"run"}
+ [1m[36mLunarShell::User Load (0.3ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms)
+Completed 200 OK in 19ms (Views: 18.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+------------------------
+QuitTest: test_logged_in
+------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:19 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[35mLunarShell::User Load (0.3ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms)
+ [1m[36mLunarShell::User Load (0.3ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1[0m [["id", 227792459]]
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:19 -0700
+Processing by LunarShell::Satellites::SuController#run as JS
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms)
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
+Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:19 -0700
+Processing by LunarShell::Satellites::SuController#create as JS
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
+ [1m[35mLunarShell::User Load (0.4ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ [1m[36mLunarShell::User Load (0.3ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms)
+Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.7ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:20 -0700
+Processing by LunarShell::Satellites::QuitController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
+ [1m[35mLunarShell::User Load (0.3ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.7ms)
+Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+----------------------------
+QuitTest: test_not_logged_in
+----------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:20 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[36mLunarShell::User Load (0.3ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms)
+Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:20 -0700
+Processing by LunarShell::Satellites::QuitController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
+ [1m[35mLunarShell::User Load (0.5ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms)
+Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+--------------------------------------
+CommandNotFoundTest: test_nothing_sent
+--------------------------------------
+Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:20 -0700
+Processing by LunarShell::ShellsController#show as HTML
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
+ [1m[36mLunarShell::User Load (0.5ms)[0m [1mSELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1[0m
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms)
+Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:20 -0700
+Processing by LunarShell::SatellitesController#run as JS
+ Parameters: {"utf8"=>"✓", "command"=>"asdklfj", "error"=>"asdklfj/run"}
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.5ms)
+ [1m[35mLunarShell::User Load (0.3ms)[0m SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (17.2ms)
+Completed 200 OK in 31ms (Views: 30.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m