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)  (0.3ms) ROLLBACK + ActiveRecord::SchemaMigration Load (6.9ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL +  (0.3ms) BEGIN + Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" + Fixture Insert (0.3ms) INSERT 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) + Fixture Insert (0.1ms) 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) +  (65.6ms) COMMIT +  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL +  (0.1ms) BEGIN +------------------------------- +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) + LunarShell::User Load (1.1ms) 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"} + LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + CACHE (0.0ms) 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"} + LunarShell::User Load (0.4ms) 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.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) +  (0.2ms) ROLLBACK +  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL +  (0.1ms) BEGIN + Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" + Fixture Insert (0.3ms) 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) + Fixture Insert (0.2ms) INSERT 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) +  (1.2ms) COMMIT +  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL +  (0.1ms) 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) + LunarShell::User Load (0.6ms) 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.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) + LunarShell::User Load (0.2ms) 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]"}} + LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + 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"} + LunarShell::User Load (0.8ms) 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]"}} + LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 +  (0.3ms) BEGIN + SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$BWqaiG1zQM/EkAaLgafKJ.gmJ.VCjSKRf/TpMuEnp9WvSQ/z5Pa.u"], ["updated_at", "2016-06-26 19:58:11.464160"], ["id", 227792459]] +  (6.0ms) 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) +  (0.2ms) ROLLBACK +  (0.1ms) 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) + LunarShell::User Load (0.3ms) 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/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"} + LunarShell::User Load (0.4ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) 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) + LunarShell::User Load (0.3ms) 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/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) + LunarShell::User Load (0.6ms) 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]"}} + LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + LunarShell::User Load (0.3ms) 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"} + LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + CACHE (0.0ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) 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) + LunarShell::User Load (0.3ms) 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.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"} + LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + CACHE (0.0ms) 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.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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------ +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) + LunarShell::User Load (0.3ms) 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"} + LunarShell::User Load (0.3ms) 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 (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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------- +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) + LunarShell::User Load (0.3ms) 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) + LunarShell::User Load (0.2ms) 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: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]"}} + LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + LunarShell::User Load (0.4ms) 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.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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------------- +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) + LunarShell::User Load (0.5ms) 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) + LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] + LunarShell::User Load (0.2ms) 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]"}} + LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + LunarShell::User Load (0.3ms) 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]"}} + LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + 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) +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +-------------------------------- +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) + LunarShell::User Load (0.3ms) 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"} + LunarShell::User Load (0.3ms) 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.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) +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +------------------------ +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) + LunarShell::User Load (0.3ms) 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) + LunarShell::User Load (0.3ms) 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: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]"}} + LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 + LunarShell::User Load (0.3ms) 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 (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"} + LunarShell::User Load (0.3ms) 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) +  (0.2ms) ROLLBACK +  (0.1ms) 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) + LunarShell::User Load (0.3ms) 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.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"} + LunarShell::User Load (0.5ms) 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) +  (0.1ms) ROLLBACK +  (0.1ms) 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) + LunarShell::User Load (0.5ms) 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 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) + LunarShell::User Load (0.3ms) 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) +  (0.1ms) ROLLBACK