lunar_shell 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36899,3 +36899,2476 @@ Processing by LunarShell::SatellitesController#error as JS
36899
36899
  Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms)
36900
36900
  Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.4ms)
36901
36901
   (0.2ms) ROLLBACK
36902
+ ActiveRecord::SchemaMigration Load (26.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
36903
+  (2.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
36904
+  (0.1ms) BEGIN
36905
+ Fixture Delete (1.2ms) DELETE FROM "lunar_shell_users"
36906
+ Fixture Insert (28.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$CceTgBW1b5zQr55zPIR2Wu7GqPE601ilHiyca6KFQeAdypz/g6D3W', 'root', '2016-06-26 00:36:49', '2016-06-26 00:36:49', 135138680)
36907
+ Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$y7xwjZNOxkJZp8mMZEiLbeQymHVwbqZNdV.lwZydp/UchwNp1TPD2', 'dave', '2016-06-26 00:36:49', '2016-06-26 00:36:49', 227792459)
36908
+  (0.3ms) COMMIT
36909
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
36910
+  (0.1ms) BEGIN
36911
+ ------------------------
36912
+ QuitTest: test_logged_in
36913
+ ------------------------
36914
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:51 -0700
36915
+ Processing by LunarShell::ShellsController#show as HTML
36916
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms)
36917
+ LunarShell::User Load (8.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
36918
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (11.9ms)
36919
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.9ms)
36920
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (21.3ms)
36921
+ Completed 200 OK in 559ms (Views: 542.1ms | ActiveRecord: 8.4ms)
36922
+ Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:36:51 -0700
36923
+ Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:36:51 -0700
36924
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
36925
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700
36926
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700
36927
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700
36928
+  (0.2ms) ROLLBACK
36929
+  (0.1ms) BEGIN
36930
+ ----------------------------
36931
+ QuitTest: test_not_logged_in
36932
+ ----------------------------
36933
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:52 -0700
36934
+ Processing by LunarShell::ShellsController#show as HTML
36935
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
36936
+ 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
36937
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms)
36938
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms)
36939
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms)
36940
+ Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.6ms)
36941
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700
36942
+  (0.2ms) ROLLBACK
36943
+  (0.1ms) BEGIN
36944
+ --------------------------
36945
+ PasswdTest: test_logged_in
36946
+ --------------------------
36947
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:52 -0700
36948
+ Processing by LunarShell::ShellsController#show as HTML
36949
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
36950
+ 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
36951
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
36952
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
36953
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
36954
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms)
36955
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
36956
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700
36957
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700
36958
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
36959
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
36960
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
36961
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
36962
+  (0.2ms) ROLLBACK
36963
+  (0.1ms) BEGIN
36964
+ ------------------------------
36965
+ PasswdTest: test_not_logged_in
36966
+ ------------------------------
36967
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
36968
+ Processing by LunarShell::ShellsController#show as HTML
36969
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
36970
+ 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
36971
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
36972
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
36973
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms)
36974
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms)
36975
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
36976
+  (0.2ms) ROLLBACK
36977
+  (0.1ms) BEGIN
36978
+ --------------------------------
36979
+ NoCommandTest: test_nothing_sent
36980
+ --------------------------------
36981
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
36982
+ Processing by LunarShell::ShellsController#show as HTML
36983
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
36984
+ 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
36985
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
36986
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
36987
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms)
36988
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
36989
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
36990
+ Processing by LunarShell::SatellitesController#run as JS
36991
+ Parameters: {"utf8"=>"✓", "error"=>"run"}
36992
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
36993
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms)
36994
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.8ms)
36995
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (31.0ms)
36996
+ Completed 200 OK in 53ms (Views: 52.0ms | ActiveRecord: 0.7ms)
36997
+  (0.2ms) ROLLBACK
36998
+  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
36999
+  (0.1ms) BEGIN
37000
+ Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users"
37001
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$VLGHd68bk1mQ781TDoteuueT8RDzM7NUUD/cDbrGyp79BFSv1.gEq', 'root', '2016-06-26 00:36:53', '2016-06-26 00:36:53', 135138680)
37002
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Vs6uicPV/vYuIfe8QoBfoe6FJ6jLoRHZRANrKa1g1.w8t8moyNbla', 'dave', '2016-06-26 00:36:53', '2016-06-26 00:36:53', 227792459)
37003
+  (1.1ms) COMMIT
37004
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
37005
+  (0.1ms) BEGIN
37006
+ ------------------------------
37007
+ ClearTest: test_clears_history
37008
+ ------------------------------
37009
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
37010
+ Processing by LunarShell::ShellsController#show as HTML
37011
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
37012
+ 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
37013
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
37014
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
37015
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
37016
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
37017
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700
37018
+  (0.2ms) ROLLBACK
37019
+  (0.1ms) BEGIN
37020
+ -------------------------------
37021
+ HistoryTest: test_shows_history
37022
+ -------------------------------
37023
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37024
+ Processing by LunarShell::ShellsController#show as HTML
37025
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
37026
+ 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
37027
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
37028
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
37029
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms)
37030
+ Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.3ms)
37031
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37032
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37033
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37034
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37035
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37036
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37037
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37038
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37039
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37040
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37041
+  (0.5ms) ROLLBACK
37042
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37043
+  (0.4ms) BEGIN
37044
+ -------------------------------
37045
+ SuTest: test_can_substitue_user
37046
+ -------------------------------
37047
+  (0.2ms) ROLLBACK
37048
+  (0.2ms) BEGIN
37049
+ -------------------
37050
+ SuTest: test_log_in
37051
+ -------------------
37052
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37053
+ Processing by LunarShell::ShellsController#show as HTML
37054
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
37055
+ LunarShell::User Load (1.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37056
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms)
37057
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.8ms)
37058
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (5.8ms)
37059
+ Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 1.3ms)
37060
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37061
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37062
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37063
+  (0.1ms) ROLLBACK
37064
+  (0.1ms) BEGIN
37065
+ ----------------------------
37066
+ ExitTest: test_not_logged_in
37067
+ ----------------------------
37068
+  (0.1ms) ROLLBACK
37069
+  (0.1ms) BEGIN
37070
+ ------------------------
37071
+ ExitTest: test_logged_in
37072
+ ------------------------
37073
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:54 -0700
37074
+ Processing by LunarShell::ShellsController#show as HTML
37075
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (1.1ms)
37076
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37077
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms)
37078
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.0ms)
37079
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (7.4ms)
37080
+ Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.9ms)
37081
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37082
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:55 -0700
37083
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:55 -0700
37084
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:55 -0700
37085
+  (0.1ms) ROLLBACK
37086
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
37087
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
37088
+  (0.2ms) BEGIN
37089
+ Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users"
37090
+ Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$sEhj2ObECigzBg80ZSBE5uFnf./htlhyVNPMnuTpHrJ85I/E6uAyC', 'root', '2016-06-26 00:37:14', '2016-06-26 00:37:14', 135138680)
37091
+ Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$SNrBNHBcjt1bQyTKf/XdEeSUnZRmB0q.W7C2zwKDdrMpki1/mmfhe', 'dave', '2016-06-26 00:37:14', '2016-06-26 00:37:14', 227792459)
37092
+  (1.1ms) COMMIT
37093
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
37094
+  (0.1ms) BEGIN
37095
+ --------------------------
37096
+ PasswdTest: test_logged_in
37097
+ --------------------------
37098
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:16 -0700
37099
+ Processing by LunarShell::ShellsController#show as HTML
37100
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (1.2ms)
37101
+ LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37102
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.9ms)
37103
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.9ms)
37104
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (21.6ms)
37105
+ Completed 200 OK in 466ms (Views: 456.9ms | ActiveRecord: 1.0ms)
37106
+ Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:37:16 -0700
37107
+ Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:37:16 -0700
37108
+ LunarShell::User Load (1.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37109
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:17 -0700
37110
+ Processing by LunarShell::Satellites::SuController#run as JS
37111
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37112
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.9ms)
37113
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (28.4ms)
37114
+ Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 0.0ms)
37115
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:17 -0700
37116
+ Processing by LunarShell::Satellites::SuController#create as JS
37117
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37118
+ LunarShell::User Load (1.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37119
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
37120
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (24.6ms)
37121
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (39.7ms)
37122
+ Completed 200 OK in 59ms (Views: 54.8ms | ActiveRecord: 1.6ms)
37123
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:17 -0700
37124
+ Processing by LunarShell::Satellites::PasswdController#run as JS
37125
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
37126
+ LunarShell::User Load (1.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37127
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.5ms)
37128
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.1ms)
37129
+ Completed 200 OK in 49ms (Views: 44.2ms | ActiveRecord: 1.5ms)
37130
+ Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:37:17 -0700
37131
+ Processing by LunarShell::Satellites::PasswdController#new_password as JS
37132
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
37133
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms)
37134
+ Completed 200 OK in 18ms (Views: 17.8ms | ActiveRecord: 0.0ms)
37135
+ Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:37:17 -0700
37136
+ Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
37137
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
37138
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms)
37139
+ Completed 200 OK in 15ms (Views: 15.3ms | ActiveRecord: 0.0ms)
37140
+ Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:37:18 -0700
37141
+ Processing by LunarShell::Satellites::PasswdController#create as JS
37142
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
37143
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37144
+  (0.2ms) BEGIN
37145
+ SQL (1.0ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$mPi6HkYnuW4bZdT1Qcrrn.ahDoVxlZ92gtL1xUPd/lgW0AmXB4inC"], ["updated_at", "2016-06-26 00:37:18.143334"], ["id", 227792459]]
37146
+  (5.8ms) COMMIT
37147
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37148
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms)
37149
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.2ms)
37150
+ Completed 200 OK in 56ms (Views: 22.7ms | ActiveRecord: 11.9ms)
37151
+  (0.2ms) ROLLBACK
37152
+  (0.1ms) BEGIN
37153
+ ------------------------------
37154
+ PasswdTest: test_not_logged_in
37155
+ ------------------------------
37156
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:18 -0700
37157
+ Processing by LunarShell::ShellsController#show as HTML
37158
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37159
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37160
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms)
37161
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
37162
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms)
37163
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.6ms)
37164
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:18 -0700
37165
+ Processing by LunarShell::Satellites::PasswdController#run as JS
37166
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
37167
+ 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
37168
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms)
37169
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms)
37170
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.4ms)
37171
+  (0.2ms) ROLLBACK
37172
+  (0.1ms) BEGIN
37173
+ -------------------------------
37174
+ HistoryTest: test_shows_history
37175
+ -------------------------------
37176
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:20 -0700
37177
+ Processing by LunarShell::ShellsController#show as HTML
37178
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37179
+ 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
37180
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (8.3ms)
37181
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.7ms)
37182
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.1ms)
37183
+ Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.3ms)
37184
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:20 -0700
37185
+ Processing by LunarShell::Satellites::ExitController#run as JS
37186
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37187
+ 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
37188
+ LunarShell::User Load (1.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37189
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.7ms)
37190
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms)
37191
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (8.1ms)
37192
+ Completed 200 OK in 39ms (Views: 35.8ms | ActiveRecord: 1.9ms)
37193
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:20 -0700
37194
+ Processing by LunarShell::Satellites::QuitController#run as JS
37195
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
37196
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37197
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
37198
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
37199
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.3ms)
37200
+ Completed 200 OK in 32ms (Views: 30.7ms | ActiveRecord: 0.7ms)
37201
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:21 -0700
37202
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37203
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37204
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (1.4ms)
37205
+ Completed 200 OK in 24ms (Views: 23.7ms | ActiveRecord: 0.0ms)
37206
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:21 -0700
37207
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37208
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37209
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37210
+ Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
37211
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:23 -0700
37212
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37213
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37214
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37215
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
37216
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:25 -0700
37217
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37218
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37219
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37220
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
37221
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:27 -0700
37222
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37223
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37224
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37225
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
37226
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:29 -0700
37227
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37228
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37229
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37230
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
37231
+  (0.2ms) ROLLBACK
37232
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
37233
+  (0.1ms) BEGIN
37234
+ Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users"
37235
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$DFb52NJ3tOQCSDyVJ8zoy.hQkIrud8j6P7zaoDhiawv2HIg99m0H6', 'root', '2016-06-26 00:37:29', '2016-06-26 00:37:29', 135138680)
37236
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$fnDsQnGGH45XzYXoyePZxebr3RceA.N7b4zFkcSWXHBPUEO.rJ34y', 'dave', '2016-06-26 00:37:29', '2016-06-26 00:37:29', 227792459)
37237
+  (1.2ms) COMMIT
37238
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
37239
+  (0.1ms) BEGIN
37240
+ -------------------------------
37241
+ SuTest: test_can_substitue_user
37242
+ -------------------------------
37243
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:29 -0700
37244
+ Processing by LunarShell::ShellsController#show as HTML
37245
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37246
+ 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
37247
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
37248
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
37249
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
37250
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
37251
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37252
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]
37253
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:29 -0700
37254
+ Processing by LunarShell::Satellites::SuController#run as JS
37255
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37256
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms)
37257
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms)
37258
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
37259
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:29 -0700
37260
+ Processing by LunarShell::Satellites::SuController#create as JS
37261
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37262
+ 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
37263
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37264
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms)
37265
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms)
37266
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)
37267
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:30 -0700
37268
+ Processing by LunarShell::Satellites::SuController#run as JS
37269
+ Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"}
37270
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
37271
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
37272
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
37273
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:30 -0700
37274
+ Processing by LunarShell::Satellites::SuController#create as JS
37275
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}}
37276
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37277
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37278
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms)
37279
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms)
37280
+ Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.9ms)
37281
+  (0.2ms) ROLLBACK
37282
+  (0.1ms) BEGIN
37283
+ -------------------
37284
+ SuTest: test_log_in
37285
+ -------------------
37286
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:30 -0700
37287
+ Processing by LunarShell::ShellsController#show as HTML
37288
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37289
+ 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
37290
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37291
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
37292
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
37293
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms)
37294
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37295
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:30 -0700
37296
+ Processing by LunarShell::Satellites::SuController#run as JS
37297
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37298
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
37299
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
37300
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
37301
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:30 -0700
37302
+ Processing by LunarShell::Satellites::SuController#create as JS
37303
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37304
+ 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
37305
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37306
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms)
37307
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms)
37308
+ Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.5ms)
37309
+  (0.2ms) ROLLBACK
37310
+  (0.1ms) BEGIN
37311
+ ------------------------
37312
+ ExitTest: test_logged_in
37313
+ ------------------------
37314
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:30 -0700
37315
+ Processing by LunarShell::ShellsController#show as HTML
37316
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms)
37317
+ 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
37318
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
37319
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms)
37320
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms)
37321
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms)
37322
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37323
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:30 -0700
37324
+ Processing by LunarShell::Satellites::SuController#run as JS
37325
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37326
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
37327
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms)
37328
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
37329
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:31 -0700
37330
+ Processing by LunarShell::Satellites::SuController#create as JS
37331
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37332
+ 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
37333
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
37334
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms)
37335
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms)
37336
+ Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms)
37337
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:31 -0700
37338
+ Processing by LunarShell::Satellites::ExitController#run as JS
37339
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37340
+ 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
37341
+ 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
37342
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37343
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
37344
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms)
37345
+ Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.8ms)
37346
+  (0.2ms) ROLLBACK
37347
+  (0.1ms) BEGIN
37348
+ ----------------------------
37349
+ ExitTest: test_not_logged_in
37350
+ ----------------------------
37351
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:31 -0700
37352
+ Processing by LunarShell::ShellsController#show as HTML
37353
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37354
+ 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
37355
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
37356
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
37357
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms)
37358
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms)
37359
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:31 -0700
37360
+ Processing by LunarShell::Satellites::ExitController#run as JS
37361
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37362
+ 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
37363
+ 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
37364
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms)
37365
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms)
37366
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms)
37367
+ Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.4ms)
37368
+  (0.1ms) ROLLBACK
37369
+  (0.1ms) BEGIN
37370
+ --------------------------------
37371
+ NoCommandTest: test_nothing_sent
37372
+ --------------------------------
37373
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:31 -0700
37374
+ Processing by LunarShell::ShellsController#show as HTML
37375
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37376
+ 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
37377
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
37378
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
37379
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms)
37380
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)
37381
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:31 -0700
37382
+  (0.2ms) ROLLBACK
37383
+  (0.1ms) BEGIN
37384
+ ----------------------------
37385
+ QuitTest: test_not_logged_in
37386
+ ----------------------------
37387
+  (0.1ms) ROLLBACK
37388
+  (0.1ms) BEGIN
37389
+ ------------------------
37390
+ QuitTest: test_logged_in
37391
+ ------------------------
37392
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:31 -0700
37393
+ Processing by LunarShell::ShellsController#show as HTML
37394
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37395
+ 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
37396
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37397
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
37398
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms)
37399
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms)
37400
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37401
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:31 -0700
37402
+ Processing by LunarShell::Satellites::SuController#run as JS
37403
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37404
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
37405
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
37406
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
37407
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:32 -0700
37408
+ Processing by LunarShell::Satellites::SuController#create as JS
37409
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37410
+ 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
37411
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
37412
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms)
37413
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms)
37414
+ Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.4ms)
37415
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:32 -0700
37416
+ Processing by LunarShell::Satellites::QuitController#run as JS
37417
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
37418
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37419
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
37420
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
37421
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.2ms)
37422
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.5ms)
37423
+  (0.1ms) ROLLBACK
37424
+  (0.1ms) BEGIN
37425
+ ------------------------------
37426
+ ClearTest: test_clears_history
37427
+ ------------------------------
37428
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:32 -0700
37429
+ Processing by LunarShell::ShellsController#show as HTML
37430
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37431
+ 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
37432
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
37433
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
37434
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms)
37435
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms)
37436
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:32 -0700
37437
+ Processing by LunarShell::Satellites::ClearController#run as JS
37438
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
37439
+ LunarShell::User Load (2.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37440
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.8ms)
37441
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms)
37442
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (7.7ms)
37443
+ Completed 200 OK in 30ms (Views: 27.3ms | ActiveRecord: 2.3ms)
37444
+  (0.2ms) ROLLBACK
37445
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
37446
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
37447
+  (0.1ms) BEGIN
37448
+ Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users"
37449
+ Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$XeLtbT2ph.oQBKLl4iw4/uJDQhEosvwjLYMA89HAQ/a3l08aD9pxK', 'root', '2016-06-26 00:37:57', '2016-06-26 00:37:57', 135138680)
37450
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$L5N6QRnp4I2K3SNkRwMRreZkB/OeqmalVXKspN/.kBJjnegS1uy7a', 'dave', '2016-06-26 00:37:57', '2016-06-26 00:37:57', 227792459)
37451
+  (1.3ms) COMMIT
37452
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
37453
+  (0.1ms) BEGIN
37454
+ ----------------------------
37455
+ ExitTest: test_not_logged_in
37456
+ ----------------------------
37457
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:59 -0700
37458
+ Processing by LunarShell::ShellsController#show as HTML
37459
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms)
37460
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37461
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms)
37462
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms)
37463
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.2ms)
37464
+ Completed 200 OK in 446ms (Views: 437.5ms | ActiveRecord: 0.9ms)
37465
+ Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:37:59 -0700
37466
+ Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:37:59 -0700
37467
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:00 -0700
37468
+ Processing by LunarShell::Satellites::ExitController#run as JS
37469
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37470
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37471
+ 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
37472
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37473
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.3ms)
37474
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (28.0ms)
37475
+ Completed 200 OK in 53ms (Views: 50.4ms | ActiveRecord: 0.7ms)
37476
+  (0.2ms) ROLLBACK
37477
+  (0.1ms) BEGIN
37478
+ ------------------------
37479
+ ExitTest: test_logged_in
37480
+ ------------------------
37481
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:00 -0700
37482
+ Processing by LunarShell::ShellsController#show as HTML
37483
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
37484
+ 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
37485
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
37486
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
37487
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
37488
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.6ms)
37489
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37490
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:00 -0700
37491
+ Processing by LunarShell::Satellites::SuController#run as JS
37492
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37493
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.9ms)
37494
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.8ms)
37495
+ Completed 200 OK in 40ms (Views: 39.5ms | ActiveRecord: 0.0ms)
37496
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:00 -0700
37497
+ Processing by LunarShell::Satellites::SuController#create as JS
37498
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37499
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37500
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37501
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms)
37502
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms)
37503
+ Completed 200 OK in 20ms (Views: 15.4ms | ActiveRecord: 0.6ms)
37504
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:01 -0700
37505
+ Processing by LunarShell::Satellites::ExitController#run as JS
37506
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37507
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37508
+ 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
37509
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
37510
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms)
37511
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.5ms)
37512
+ Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.0ms)
37513
+  (0.2ms) ROLLBACK
37514
+  (0.1ms) BEGIN
37515
+ ------------------------------
37516
+ ClearTest: test_clears_history
37517
+ ------------------------------
37518
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:01 -0700
37519
+ Processing by LunarShell::ShellsController#show as HTML
37520
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37521
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37522
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms)
37523
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms)
37524
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms)
37525
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.7ms)
37526
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:01 -0700
37527
+ Processing by LunarShell::Satellites::ClearController#run as JS
37528
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
37529
+ 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
37530
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
37531
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms)
37532
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (2.9ms)
37533
+ Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.5ms)
37534
+  (0.2ms) ROLLBACK
37535
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
37536
+  (0.2ms) BEGIN
37537
+ Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users"
37538
+ Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$1tfxsLcg2i57w4LVWibJIeqO.RRt2KKOfMHGYd4PpjIlHJK/2m38q', 'root', '2016-06-26 00:38:01', '2016-06-26 00:38:01', 135138680)
37539
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$A/hLJaYXTyV3Di/l67e6JOWROpWjCUGSycnHx85Oqimz5hk3Xsl/i', 'dave', '2016-06-26 00:38:01', '2016-06-26 00:38:01', 227792459)
37540
+  (1.5ms) COMMIT
37541
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
37542
+  (0.1ms) BEGIN
37543
+ --------------------------
37544
+ PasswdTest: test_logged_in
37545
+ --------------------------
37546
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:01 -0700
37547
+ Processing by LunarShell::ShellsController#show as HTML
37548
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37549
+ 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
37550
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
37551
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
37552
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms)
37553
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)
37554
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37555
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:01 -0700
37556
+ Processing by LunarShell::Satellites::SuController#run as JS
37557
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37558
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
37559
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms)
37560
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
37561
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:01 -0700
37562
+ Processing by LunarShell::Satellites::SuController#create as JS
37563
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37564
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37565
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37566
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms)
37567
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms)
37568
+ Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.7ms)
37569
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:01 -0700
37570
+ Processing by LunarShell::Satellites::PasswdController#run as JS
37571
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
37572
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37573
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms)
37574
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.9ms)
37575
+ Completed 200 OK in 35ms (Views: 32.6ms | ActiveRecord: 0.9ms)
37576
+ Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:38:02 -0700
37577
+ Processing by LunarShell::Satellites::PasswdController#new_password as JS
37578
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
37579
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.0ms)
37580
+ Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.0ms)
37581
+ Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:38:02 -0700
37582
+ Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
37583
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
37584
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms)
37585
+ Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
37586
+ Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:38:02 -0700
37587
+ Processing by LunarShell::Satellites::PasswdController#create as JS
37588
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
37589
+ 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
37590
+  (0.2ms) BEGIN
37591
+ SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$bJpjuNj9n34rq1RHd/4Z7uNySL4yoxC4ukvwn88ypECHatjN5.fum"], ["updated_at", "2016-06-26 00:38:02.319493"], ["id", 227792459]]
37592
+  (1.0ms) COMMIT
37593
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37594
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms)
37595
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms)
37596
+ Completed 200 OK in 34ms (Views: 20.3ms | ActiveRecord: 2.7ms)
37597
+  (0.2ms) ROLLBACK
37598
+  (0.1ms) BEGIN
37599
+ ------------------------------
37600
+ PasswdTest: test_not_logged_in
37601
+ ------------------------------
37602
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:02 -0700
37603
+ Processing by LunarShell::ShellsController#show as HTML
37604
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
37605
+ 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
37606
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
37607
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
37608
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
37609
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
37610
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:02 -0700
37611
+ Processing by LunarShell::Satellites::PasswdController#run as JS
37612
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
37613
+ 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
37614
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.6ms)
37615
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (1.0ms)
37616
+ Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.4ms)
37617
+  (0.1ms) ROLLBACK
37618
+  (0.1ms) BEGIN
37619
+ -------------------------------
37620
+ HistoryTest: test_shows_history
37621
+ -------------------------------
37622
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:04 -0700
37623
+ Processing by LunarShell::ShellsController#show as HTML
37624
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37625
+ 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
37626
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37627
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
37628
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms)
37629
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
37630
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:04 -0700
37631
+ Processing by LunarShell::Satellites::ExitController#run as JS
37632
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37633
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37634
+ 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
37635
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37636
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
37637
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms)
37638
+ Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.2ms)
37639
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:04 -0700
37640
+ Processing by LunarShell::Satellites::QuitController#run as JS
37641
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
37642
+ 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
37643
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
37644
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
37645
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms)
37646
+ Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.5ms)
37647
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:04 -0700
37648
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37649
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37650
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms)
37651
+ Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.0ms)
37652
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:05 -0700
37653
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37654
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37655
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37656
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
37657
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:07 -0700
37658
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37659
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37660
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37661
+ Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
37662
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:09 -0700
37663
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37664
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37665
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37666
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
37667
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:11 -0700
37668
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37669
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37670
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37671
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
37672
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:13 -0700
37673
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37674
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37675
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms)
37676
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
37677
+  (0.2ms) ROLLBACK
37678
+  (0.1ms) BEGIN
37679
+ --------------------------------
37680
+ NoCommandTest: test_nothing_sent
37681
+ --------------------------------
37682
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:13 -0700
37683
+ Processing by LunarShell::ShellsController#show as HTML
37684
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37685
+ 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
37686
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37687
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
37688
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms)
37689
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms)
37690
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:13 -0700
37691
+  (0.1ms) ROLLBACK
37692
+  (0.1ms) BEGIN
37693
+ -------------------
37694
+ SuTest: test_log_in
37695
+ -------------------
37696
+  (0.1ms) ROLLBACK
37697
+  (0.1ms) BEGIN
37698
+ -------------------------------
37699
+ SuTest: test_can_substitue_user
37700
+ -------------------------------
37701
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:13 -0700
37702
+ Processing by LunarShell::ShellsController#show as HTML
37703
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
37704
+ 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
37705
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37706
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
37707
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms)
37708
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
37709
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37710
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]
37711
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:13 -0700
37712
+ Processing by LunarShell::Satellites::SuController#run as JS
37713
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37714
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
37715
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms)
37716
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
37717
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:13 -0700
37718
+ Processing by LunarShell::Satellites::SuController#create as JS
37719
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37720
+ LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37721
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37722
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms)
37723
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
37724
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.6ms)
37725
+ Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 1.5ms)
37726
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:14 -0700
37727
+ Processing by LunarShell::Satellites::SuController#run as JS
37728
+ Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"}
37729
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
37730
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms)
37731
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
37732
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:14 -0700
37733
+ Processing by LunarShell::Satellites::SuController#create as JS
37734
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}}
37735
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37736
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37737
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms)
37738
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms)
37739
+ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms)
37740
+  (0.2ms) ROLLBACK
37741
+  (0.1ms) BEGIN
37742
+ ------------------------
37743
+ QuitTest: test_logged_in
37744
+ ------------------------
37745
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:14 -0700
37746
+ Processing by LunarShell::ShellsController#show as HTML
37747
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37748
+ 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
37749
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37750
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
37751
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
37752
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms)
37753
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37754
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:14 -0700
37755
+ Processing by LunarShell::Satellites::SuController#run as JS
37756
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37757
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
37758
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
37759
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
37760
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:14 -0700
37761
+ Processing by LunarShell::Satellites::SuController#create as JS
37762
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37763
+ 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
37764
+ 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
37765
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37766
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
37767
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms)
37768
+ Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.7ms)
37769
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:14 -0700
37770
+ Processing by LunarShell::Satellites::QuitController#run as JS
37771
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
37772
+ 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
37773
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
37774
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
37775
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.7ms)
37776
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.5ms)
37777
+  (0.1ms) ROLLBACK
37778
+  (0.1ms) BEGIN
37779
+ ----------------------------
37780
+ QuitTest: test_not_logged_in
37781
+ ----------------------------
37782
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:14 -0700
37783
+ Processing by LunarShell::ShellsController#show as HTML
37784
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37785
+ 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
37786
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
37787
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
37788
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms)
37789
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)
37790
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:14 -0700
37791
+ Processing by LunarShell::Satellites::QuitController#run as JS
37792
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
37793
+ 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
37794
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
37795
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
37796
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms)
37797
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)
37798
+  (0.1ms) ROLLBACK
37799
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
37800
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
37801
+  (0.1ms) BEGIN
37802
+ Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users"
37803
+ Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$i2VCjCnmQYGxNz6UV2Q91e3fF.F7rzGddnj8XJJ/Kxb93p9yF35J6', 'root', '2016-06-26 00:38:23', '2016-06-26 00:38:23', 135138680)
37804
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$iiSwx0FKjQWvI8bQditaP.xD7q3FnYW.wEseXRJMM/0282vH63.X6', 'dave', '2016-06-26 00:38:23', '2016-06-26 00:38:23', 227792459)
37805
+  (1.1ms) COMMIT
37806
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
37807
+  (0.1ms) BEGIN
37808
+ -------------------------------
37809
+ HistoryTest: test_shows_history
37810
+ -------------------------------
37811
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:25 -0700
37812
+ Processing by LunarShell::ShellsController#show as HTML
37813
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms)
37814
+ LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37815
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms)
37816
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms)
37817
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.0ms)
37818
+ Completed 200 OK in 373ms (Views: 358.6ms | ActiveRecord: 1.0ms)
37819
+ Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:38:26 -0700
37820
+ Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:38:26 -0700
37821
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:26 -0700
37822
+ Processing by LunarShell::Satellites::ExitController#run as JS
37823
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37824
+ 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
37825
+ 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
37826
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
37827
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.4ms)
37828
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (31.5ms)
37829
+ Completed 200 OK in 71ms (Views: 68.5ms | ActiveRecord: 0.5ms)
37830
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:27 -0700
37831
+ Processing by LunarShell::Satellites::QuitController#run as JS
37832
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
37833
+ 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
37834
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms)
37835
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms)
37836
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.4ms)
37837
+ Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.6ms)
37838
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:27 -0700
37839
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37840
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37841
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (1.1ms)
37842
+ Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms)
37843
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:27 -0700
37844
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37845
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37846
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37847
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
37848
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:29 -0700
37849
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37850
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37851
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms)
37852
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
37853
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:31 -0700
37854
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37855
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
37856
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37857
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
37858
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:33 -0700
37859
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37860
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37861
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
37862
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
37863
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:35 -0700
37864
+ Processing by LunarShell::Satellites::HistoryController#run as */*
37865
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
37866
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms)
37867
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
37868
+  (0.2ms) ROLLBACK
37869
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
37870
+  (0.1ms) BEGIN
37871
+ Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users"
37872
+ Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$WrTuERwJNIzEXRAX2yWnyeI1QqcQKwdXGFkG0q3uq5mqNHluozlo6', 'root', '2016-06-26 00:38:35', '2016-06-26 00:38:35', 135138680)
37873
+ Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$gWJWZ6VcqmhQT8hOx3ebJeFcJLakKEdA6.Ip6F6lcz605YcI6FEee', 'dave', '2016-06-26 00:38:35', '2016-06-26 00:38:35', 227792459)
37874
+  (1.3ms) COMMIT
37875
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
37876
+  (0.1ms) BEGIN
37877
+ ------------------------------
37878
+ ClearTest: test_clears_history
37879
+ ------------------------------
37880
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:35 -0700
37881
+ Processing by LunarShell::ShellsController#show as HTML
37882
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
37883
+ LunarShell::User Load (1.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37884
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms)
37885
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.1ms)
37886
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (5.7ms)
37887
+ Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 1.3ms)
37888
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:35 -0700
37889
+ Processing by LunarShell::Satellites::ClearController#run as JS
37890
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
37891
+ 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
37892
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
37893
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
37894
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (2.7ms)
37895
+ Completed 200 OK in 23ms (Views: 22.4ms | ActiveRecord: 0.4ms)
37896
+  (0.1ms) ROLLBACK
37897
+  (0.1ms) BEGIN
37898
+ ------------------------
37899
+ ExitTest: test_logged_in
37900
+ ------------------------
37901
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:36 -0700
37902
+ Processing by LunarShell::ShellsController#show as HTML
37903
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
37904
+ 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
37905
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37906
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
37907
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
37908
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.4ms)
37909
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37910
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:36 -0700
37911
+ Processing by LunarShell::Satellites::SuController#run as JS
37912
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37913
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.3ms)
37914
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (29.8ms)
37915
+ Completed 200 OK in 49ms (Views: 48.7ms | ActiveRecord: 0.0ms)
37916
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:36 -0700
37917
+ Processing by LunarShell::Satellites::SuController#create as JS
37918
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37919
+ LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
37920
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37921
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
37922
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.5ms)
37923
+ Completed 200 OK in 33ms (Views: 26.6ms | ActiveRecord: 1.1ms)
37924
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:36 -0700
37925
+ Processing by LunarShell::Satellites::ExitController#run as JS
37926
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37927
+ 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
37928
+ 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
37929
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
37930
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
37931
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms)
37932
+ Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.7ms)
37933
+  (0.2ms) ROLLBACK
37934
+  (0.1ms) BEGIN
37935
+ ----------------------------
37936
+ ExitTest: test_not_logged_in
37937
+ ----------------------------
37938
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:36 -0700
37939
+ Processing by LunarShell::ShellsController#show as HTML
37940
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37941
+ 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
37942
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
37943
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
37944
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms)
37945
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms)
37946
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:36 -0700
37947
+ Processing by LunarShell::Satellites::ExitController#run as JS
37948
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
37949
+ 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
37950
+ 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
37951
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms)
37952
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms)
37953
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms)
37954
+ Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.4ms)
37955
+  (0.1ms) ROLLBACK
37956
+  (0.1ms) BEGIN
37957
+ -------------------------------
37958
+ SuTest: test_can_substitue_user
37959
+ -------------------------------
37960
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:36 -0700
37961
+ Processing by LunarShell::ShellsController#show as HTML
37962
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
37963
+ 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
37964
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
37965
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
37966
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms)
37967
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms)
37968
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
37969
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]
37970
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:37 -0700
37971
+ Processing by LunarShell::Satellites::SuController#run as JS
37972
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
37973
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
37974
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
37975
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
37976
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:37 -0700
37977
+ Processing by LunarShell::Satellites::SuController#create as JS
37978
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
37979
+ 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
37980
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
37981
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms)
37982
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms)
37983
+ Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms)
37984
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:37 -0700
37985
+ Processing by LunarShell::Satellites::SuController#run as JS
37986
+ Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"}
37987
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
37988
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
37989
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
37990
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:37 -0700
37991
+ Processing by LunarShell::Satellites::SuController#create as JS
37992
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}}
37993
+ 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
37994
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
37995
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms)
37996
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms)
37997
+ Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)
37998
+  (0.2ms) ROLLBACK
37999
+  (0.1ms) BEGIN
38000
+ -------------------
38001
+ SuTest: test_log_in
38002
+ -------------------
38003
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:37 -0700
38004
+ Processing by LunarShell::ShellsController#show as HTML
38005
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38006
+ 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
38007
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
38008
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms)
38009
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.2ms)
38010
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms)
38011
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38012
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:37 -0700
38013
+ Processing by LunarShell::Satellites::SuController#run as JS
38014
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38015
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
38016
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms)
38017
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
38018
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:38 -0700
38019
+ Processing by LunarShell::Satellites::SuController#create as JS
38020
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38021
+ 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
38022
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
38023
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms)
38024
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms)
38025
+ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.4ms)
38026
+  (0.2ms) ROLLBACK
38027
+  (0.1ms) BEGIN
38028
+ --------------------------------
38029
+ NoCommandTest: test_nothing_sent
38030
+ --------------------------------
38031
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:38 -0700
38032
+ Processing by LunarShell::ShellsController#show as HTML
38033
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38034
+ 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
38035
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
38036
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
38037
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
38038
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms)
38039
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:38 -0700
38040
+ Processing by LunarShell::SatellitesController#run as JS
38041
+ Parameters: {"utf8"=>"✓", "error"=>"run"}
38042
+ 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
38043
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms)
38044
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
38045
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (4.2ms)
38046
+ Completed 200 OK in 24ms (Views: 23.4ms | ActiveRecord: 0.4ms)
38047
+  (0.1ms) ROLLBACK
38048
+  (0.1ms) BEGIN
38049
+ ------------------------
38050
+ QuitTest: test_logged_in
38051
+ ------------------------
38052
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:40 -0700
38053
+ Processing by LunarShell::ShellsController#show as HTML
38054
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38055
+ 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
38056
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38057
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
38058
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
38059
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
38060
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38061
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:40 -0700
38062
+ Processing by LunarShell::Satellites::SuController#run as JS
38063
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38064
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
38065
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
38066
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
38067
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:40 -0700
38068
+ Processing by LunarShell::Satellites::SuController#create as JS
38069
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38070
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38071
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
38072
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms)
38073
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms)
38074
+ Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.9ms)
38075
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:40 -0700
38076
+ Processing by LunarShell::Satellites::QuitController#run as JS
38077
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
38078
+ 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
38079
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
38080
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms)
38081
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.1ms)
38082
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms)
38083
+  (0.2ms) ROLLBACK
38084
+  (0.1ms) BEGIN
38085
+ ----------------------------
38086
+ QuitTest: test_not_logged_in
38087
+ ----------------------------
38088
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:40 -0700
38089
+ Processing by LunarShell::ShellsController#show as HTML
38090
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38091
+ 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
38092
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
38093
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
38094
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms)
38095
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
38096
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:41 -0700
38097
+ Processing by LunarShell::Satellites::QuitController#run as JS
38098
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
38099
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38100
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
38101
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms)
38102
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.8ms)
38103
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms)
38104
+  (0.2ms) ROLLBACK
38105
+  (0.1ms) BEGIN
38106
+ --------------------------
38107
+ PasswdTest: test_logged_in
38108
+ --------------------------
38109
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:41 -0700
38110
+ Processing by LunarShell::ShellsController#show as HTML
38111
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38112
+ 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
38113
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
38114
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
38115
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
38116
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
38117
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38118
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:41 -0700
38119
+ Processing by LunarShell::Satellites::SuController#run as JS
38120
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38121
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms)
38122
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (2.2ms)
38123
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
38124
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:41 -0700
38125
+ Processing by LunarShell::Satellites::SuController#create as JS
38126
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38127
+ 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
38128
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
38129
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms)
38130
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms)
38131
+ Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.4ms)
38132
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:41 -0700
38133
+ Processing by LunarShell::Satellites::PasswdController#run as JS
38134
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
38135
+ 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
38136
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms)
38137
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.1ms)
38138
+ Completed 200 OK in 46ms (Views: 44.1ms | ActiveRecord: 0.4ms)
38139
+ Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:38:41 -0700
38140
+ Processing by LunarShell::Satellites::PasswdController#new_password as JS
38141
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
38142
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.1ms)
38143
+ Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.0ms)
38144
+ Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:38:41 -0700
38145
+ Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
38146
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
38147
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.9ms)
38148
+ Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms)
38149
+ Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:38:42 -0700
38150
+ Processing by LunarShell::Satellites::PasswdController#create as JS
38151
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
38152
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38153
+  (0.2ms) BEGIN
38154
+ SQL (0.5ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$aWO59wzciF0kzue7Kipctuo.0bHA956reI93Cqb7JiGMm1q4HSq3O"], ["updated_at", "2016-06-26 00:38:42.113370"], ["id", 227792459]]
38155
+  (1.1ms) COMMIT
38156
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms)
38157
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms)
38158
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (3.6ms)
38159
+ Completed 200 OK in 37ms (Views: 24.6ms | ActiveRecord: 2.5ms)
38160
+  (0.1ms) ROLLBACK
38161
+  (0.1ms) BEGIN
38162
+ ------------------------------
38163
+ PasswdTest: test_not_logged_in
38164
+ ------------------------------
38165
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:42 -0700
38166
+ Processing by LunarShell::ShellsController#show as HTML
38167
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38168
+ 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
38169
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38170
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
38171
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
38172
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
38173
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:42 -0700
38174
+ Processing by LunarShell::Satellites::PasswdController#run as JS
38175
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
38176
+ 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
38177
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.5ms)
38178
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.8ms)
38179
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.4ms)
38180
+  (0.2ms) ROLLBACK
38181
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
38182
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
38183
+  (0.2ms) BEGIN
38184
+ Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users"
38185
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$YXqHwpAsvE2SKLfPYuK2Z.b1DTT.eRD6n30UPvC3hTY2DRI4uHTci', 'root', '2016-06-26 00:39:15', '2016-06-26 00:39:15', 135138680)
38186
+ Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$gcuVyotoUffCuZYDL1Zye.aLYJudzRfBQTweUJ01Lc7KwAxJasqKa', 'dave', '2016-06-26 00:39:15', '2016-06-26 00:39:15', 227792459)
38187
+  (1.3ms) COMMIT
38188
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
38189
+  (0.1ms) BEGIN
38190
+ ------------------------
38191
+ ExitTest: test_logged_in
38192
+ ------------------------
38193
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:16 -0700
38194
+ Processing by LunarShell::ShellsController#show as HTML
38195
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms)
38196
+ 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
38197
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms)
38198
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms)
38199
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms)
38200
+ Completed 200 OK in 359ms (Views: 349.4ms | ActiveRecord: 1.1ms)
38201
+ Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:39:17 -0700
38202
+ Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:39:17 -0700
38203
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38204
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:17 -0700
38205
+ Processing by LunarShell::Satellites::SuController#run as JS
38206
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38207
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.9ms)
38208
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.5ms)
38209
+ Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.0ms)
38210
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:18 -0700
38211
+ Processing by LunarShell::Satellites::SuController#create as JS
38212
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38213
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38214
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms)
38215
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.3ms)
38216
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.5ms)
38217
+ Completed 200 OK in 47ms (Views: 42.5ms | ActiveRecord: 0.6ms)
38218
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:18 -0700
38219
+ Processing by LunarShell::Satellites::ExitController#run as JS
38220
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
38221
+ 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
38222
+ 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
38223
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
38224
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms)
38225
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.8ms)
38226
+ Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 1.0ms)
38227
+  (0.2ms) ROLLBACK
38228
+  (0.1ms) BEGIN
38229
+ ----------------------------
38230
+ ExitTest: test_not_logged_in
38231
+ ----------------------------
38232
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:18 -0700
38233
+ Processing by LunarShell::ShellsController#show as HTML
38234
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38235
+ 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
38236
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38237
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
38238
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
38239
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms)
38240
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:18 -0700
38241
+ Processing by LunarShell::Satellites::ExitController#run as JS
38242
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
38243
+ 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
38244
+ 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
38245
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms)
38246
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms)
38247
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms)
38248
+ Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.4ms)
38249
+  (0.2ms) ROLLBACK
38250
+  (0.1ms) BEGIN
38251
+ -------------------------------
38252
+ SuTest: test_can_substitue_user
38253
+ -------------------------------
38254
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:18 -0700
38255
+ Processing by LunarShell::ShellsController#show as HTML
38256
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38257
+ 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
38258
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38259
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
38260
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
38261
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
38262
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38263
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]
38264
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:18 -0700
38265
+ Processing by LunarShell::Satellites::SuController#run as JS
38266
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38267
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
38268
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms)
38269
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
38270
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38271
+ Processing by LunarShell::Satellites::SuController#create as JS
38272
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38273
+ 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
38274
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
38275
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms)
38276
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms)
38277
+ Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)
38278
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38279
+ Processing by LunarShell::Satellites::SuController#run as JS
38280
+ Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"}
38281
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
38282
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.6ms)
38283
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
38284
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38285
+ Processing by LunarShell::Satellites::SuController#create as JS
38286
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}}
38287
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38288
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
38289
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms)
38290
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms)
38291
+ Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.4ms)
38292
+  (0.2ms) ROLLBACK
38293
+  (0.1ms) BEGIN
38294
+ -------------------
38295
+ SuTest: test_log_in
38296
+ -------------------
38297
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38298
+ Processing by LunarShell::ShellsController#show as HTML
38299
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38300
+ 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
38301
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
38302
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
38303
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms)
38304
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.3ms)
38305
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38306
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38307
+ Processing by LunarShell::Satellites::SuController#run as JS
38308
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38309
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms)
38310
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms)
38311
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
38312
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38313
+ Processing by LunarShell::Satellites::SuController#create as JS
38314
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38315
+ 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
38316
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
38317
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms)
38318
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms)
38319
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)
38320
+  (0.3ms) ROLLBACK
38321
+  (0.1ms) BEGIN
38322
+ ----------------------------
38323
+ QuitTest: test_not_logged_in
38324
+ ----------------------------
38325
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38326
+ Processing by LunarShell::ShellsController#show as HTML
38327
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38328
+ 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
38329
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
38330
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
38331
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
38332
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms)
38333
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38334
+ Processing by LunarShell::Satellites::QuitController#run as JS
38335
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
38336
+ 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
38337
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
38338
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms)
38339
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.4ms)
38340
+ Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.4ms)
38341
+  (0.1ms) ROLLBACK
38342
+  (0.1ms) BEGIN
38343
+ ------------------------
38344
+ QuitTest: test_logged_in
38345
+ ------------------------
38346
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:19 -0700
38347
+ Processing by LunarShell::ShellsController#show as HTML
38348
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38349
+ 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
38350
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
38351
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms)
38352
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms)
38353
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.4ms)
38354
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38355
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:20 -0700
38356
+ Processing by LunarShell::Satellites::SuController#run as JS
38357
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38358
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms)
38359
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms)
38360
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
38361
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:20 -0700
38362
+ Processing by LunarShell::Satellites::SuController#create as JS
38363
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38364
+ LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38365
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
38366
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms)
38367
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms)
38368
+ Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.1ms)
38369
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:20 -0700
38370
+ Processing by LunarShell::Satellites::QuitController#run as JS
38371
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
38372
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38373
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms)
38374
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms)
38375
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms)
38376
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms)
38377
+  (0.2ms) ROLLBACK
38378
+  (0.1ms) BEGIN
38379
+ --------------------------------
38380
+ NoCommandTest: test_nothing_sent
38381
+ --------------------------------
38382
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:20 -0700
38383
+ Processing by LunarShell::ShellsController#show as HTML
38384
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38385
+ 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
38386
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
38387
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
38388
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
38389
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
38390
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:20 -0700
38391
+ Processing by LunarShell::SatellitesController#run as JS
38392
+ Parameters: {"utf8"=>"✓", "error"=>"run"}
38393
+ 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
38394
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
38395
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
38396
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (3.1ms)
38397
+ Completed 200 OK in 20ms (Views: 19.5ms | ActiveRecord: 0.4ms)
38398
+  (0.2ms) ROLLBACK
38399
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
38400
+  (0.1ms) BEGIN
38401
+ Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users"
38402
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$621Ocb8p/..JahJ.uOvZY.JUumdhWYNpgjN6KA0uBI4WtbgjUv5v6', 'root', '2016-06-26 00:39:22', '2016-06-26 00:39:22', 135138680)
38403
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$vugnskWeegagtX6qETFcAe.3Ep7PJnytgGY41hMcKsmxdIzVOP8g.', 'dave', '2016-06-26 00:39:22', '2016-06-26 00:39:22', 227792459)
38404
+  (1.1ms) COMMIT
38405
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
38406
+  (0.1ms) BEGIN
38407
+ ------------------------------
38408
+ ClearTest: test_clears_history
38409
+ ------------------------------
38410
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:22 -0700
38411
+ Processing by LunarShell::ShellsController#show as HTML
38412
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38413
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38414
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
38415
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms)
38416
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms)
38417
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.6ms)
38418
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:22 -0700
38419
+ Processing by LunarShell::Satellites::ClearController#run as JS
38420
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
38421
+ LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38422
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms)
38423
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms)
38424
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (3.3ms)
38425
+ Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 1.2ms)
38426
+  (0.2ms) ROLLBACK
38427
+  (0.1ms) BEGIN
38428
+ ------------------------------
38429
+ PasswdTest: test_not_logged_in
38430
+ ------------------------------
38431
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:22 -0700
38432
+ Processing by LunarShell::ShellsController#show as HTML
38433
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38434
+ 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
38435
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
38436
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms)
38437
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms)
38438
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
38439
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:23 -0700
38440
+ Processing by LunarShell::Satellites::PasswdController#run as JS
38441
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
38442
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38443
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms)
38444
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.6ms)
38445
+ Completed 200 OK in 38ms (Views: 35.4ms | ActiveRecord: 0.7ms)
38446
+  (0.2ms) ROLLBACK
38447
+  (0.1ms) BEGIN
38448
+ --------------------------
38449
+ PasswdTest: test_logged_in
38450
+ --------------------------
38451
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:25 -0700
38452
+ Processing by LunarShell::ShellsController#show as HTML
38453
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38454
+ 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
38455
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
38456
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
38457
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
38458
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
38459
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38460
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:25 -0700
38461
+ Processing by LunarShell::Satellites::SuController#run as JS
38462
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38463
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
38464
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms)
38465
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
38466
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:25 -0700
38467
+ Processing by LunarShell::Satellites::SuController#create as JS
38468
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38469
+ 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
38470
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
38471
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms)
38472
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms)
38473
+ Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.4ms)
38474
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:25 -0700
38475
+ Processing by LunarShell::Satellites::PasswdController#run as JS
38476
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
38477
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38478
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms)
38479
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms)
38480
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.9ms)
38481
+ Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:39:25 -0700
38482
+ Processing by LunarShell::Satellites::PasswdController#new_password as JS
38483
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
38484
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms)
38485
+ Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms)
38486
+ Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:39:25 -0700
38487
+ Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
38488
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
38489
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms)
38490
+ Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.0ms)
38491
+ Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:39:25 -0700
38492
+ Processing by LunarShell::Satellites::PasswdController#create as JS
38493
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
38494
+ 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
38495
+  (0.1ms) BEGIN
38496
+ SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$EqzKlC4A89CazUxf7KlOh.tAoc0rvw73.PVLI0q7YQjelJ6dxRZVO"], ["updated_at", "2016-06-26 00:39:25.922430"], ["id", 227792459]]
38497
+  (1.1ms) COMMIT
38498
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
38499
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms)
38500
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.9ms)
38501
+ Completed 200 OK in 28ms (Views: 16.6ms | ActiveRecord: 1.9ms)
38502
+  (0.2ms) ROLLBACK
38503
+  (0.2ms) BEGIN
38504
+ -------------------------------
38505
+ HistoryTest: test_shows_history
38506
+ -------------------------------
38507
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:25 -0700
38508
+ Processing by LunarShell::ShellsController#show as HTML
38509
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38510
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38511
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
38512
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms)
38513
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms)
38514
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.6ms)
38515
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:26 -0700
38516
+ Processing by LunarShell::Satellites::ExitController#run as JS
38517
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
38518
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38519
+ 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
38520
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
38521
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
38522
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms)
38523
+ Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.0ms)
38524
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:26 -0700
38525
+ Processing by LunarShell::Satellites::QuitController#run as JS
38526
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
38527
+ 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
38528
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
38529
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
38530
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.8ms)
38531
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.5ms)
38532
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:26 -0700
38533
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38534
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
38535
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.5ms)
38536
+ Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.0ms)
38537
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:26 -0700
38538
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38539
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
38540
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms)
38541
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
38542
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:28 -0700
38543
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38544
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
38545
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38546
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
38547
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:30 -0700
38548
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38549
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
38550
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38551
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
38552
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:32 -0700
38553
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38554
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
38555
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38556
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
38557
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:34 -0700
38558
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38559
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
38560
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38561
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
38562
+  (0.1ms) ROLLBACK
38563
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
38564
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
38565
+  (0.2ms) BEGIN
38566
+ Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users"
38567
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$lM2p3BfnUV5osDp7zpHzu.IWxpRFJBA9WMOuj/uDg50DlO1x5HkJ6', 'root', '2016-06-26 00:40:20', '2016-06-26 00:40:20', 135138680)
38568
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$zo.8mNnH4H.txUViw6n8beT2HCo8OspiPcuGahKCjo943bFuRn96y', 'dave', '2016-06-26 00:40:20', '2016-06-26 00:40:20', 227792459)
38569
+  (1.1ms) COMMIT
38570
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
38571
+  (0.1ms) BEGIN
38572
+ -------------------------------
38573
+ SuTest: test_can_substitue_user
38574
+ -------------------------------
38575
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:22 -0700
38576
+ Processing by LunarShell::ShellsController#show as HTML
38577
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms)
38578
+ LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38579
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms)
38580
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms)
38581
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.8ms)
38582
+ Completed 200 OK in 453ms (Views: 444.1ms | ActiveRecord: 1.0ms)
38583
+ Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:40:23 -0700
38584
+ Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:40:23 -0700
38585
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38586
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]
38587
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:23 -0700
38588
+ Processing by LunarShell::Satellites::SuController#run as JS
38589
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38590
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms)
38591
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.5ms)
38592
+ Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.0ms)
38593
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:23 -0700
38594
+ Processing by LunarShell::Satellites::SuController#create as JS
38595
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38596
+ 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
38597
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms)
38598
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.1ms)
38599
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.0ms)
38600
+ Completed 200 OK in 48ms (Views: 45.1ms | ActiveRecord: 0.4ms)
38601
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:24 -0700
38602
+ Processing by LunarShell::Satellites::SuController#run as JS
38603
+ Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"}
38604
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
38605
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
38606
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
38607
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:24 -0700
38608
+ Processing by LunarShell::Satellites::SuController#create as JS
38609
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}}
38610
+ 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
38611
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
38612
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms)
38613
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms)
38614
+ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms)
38615
+  (0.2ms) ROLLBACK
38616
+  (0.1ms) BEGIN
38617
+ -------------------
38618
+ SuTest: test_log_in
38619
+ -------------------
38620
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:24 -0700
38621
+ Processing by LunarShell::ShellsController#show as HTML
38622
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38623
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38624
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms)
38625
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms)
38626
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms)
38627
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.6ms)
38628
+ LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38629
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:24 -0700
38630
+ Processing by LunarShell::Satellites::SuController#run as JS
38631
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38632
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms)
38633
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.3ms)
38634
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
38635
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:24 -0700
38636
+ Processing by LunarShell::Satellites::SuController#create as JS
38637
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38638
+ 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
38639
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
38640
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms)
38641
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms)
38642
+ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.4ms)
38643
+  (0.2ms) ROLLBACK
38644
+  (0.1ms) BEGIN
38645
+ --------------------------------------
38646
+ CommandNotFoundTest: test_nothing_sent
38647
+ --------------------------------------
38648
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:24 -0700
38649
+ Processing by LunarShell::ShellsController#show as HTML
38650
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38651
+ 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
38652
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
38653
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
38654
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms)
38655
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms)
38656
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:24 -0700
38657
+ Processing by LunarShell::SatellitesController#run as JS
38658
+ Parameters: {"utf8"=>"✓", "command"=>"asdklfj", "error"=>"asdklfj/run"}
38659
+  (14.9ms) ROLLBACK
38660
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.4ms)
38661
+  (0.1ms) BEGIN
38662
+ --------------------------------
38663
+ 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
38664
+ NoCommandTest: test_nothing_sent
38665
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
38666
+ --------------------------------
38667
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
38668
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (18.7ms)
38669
+ Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.4ms)
38670
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:24 -0700
38671
+ Processing by LunarShell::ShellsController#show as HTML
38672
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38673
+ 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
38674
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38675
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
38676
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
38677
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
38678
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:25 -0700
38679
+ Processing by LunarShell::SatellitesController#run as JS
38680
+ Parameters: {"utf8"=>"✓", "error"=>"run"}
38681
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38682
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
38683
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms)
38684
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.5ms)
38685
+ Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.5ms)
38686
+  (0.1ms) ROLLBACK
38687
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
38688
+  (0.1ms) BEGIN
38689
+ Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users"
38690
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$taAxvsbJa9uN4TDk/rYhDeXR/uk/1p5UQ/8MwfmpKw6XNO2R7GYyS', 'root', '2016-06-26 00:40:27', '2016-06-26 00:40:27', 135138680)
38691
+ Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Pxo0fDOw4vmAk5/n9ZxoCeRucrckCpOpxUSuL22lVJWI2hl9.j9/.', 'dave', '2016-06-26 00:40:27', '2016-06-26 00:40:27', 227792459)
38692
+  (1.3ms) COMMIT
38693
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
38694
+  (0.1ms) BEGIN
38695
+ --------------------------
38696
+ PasswdTest: test_logged_in
38697
+ --------------------------
38698
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:27 -0700
38699
+ Processing by LunarShell::ShellsController#show as HTML
38700
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38701
+ 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
38702
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
38703
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
38704
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms)
38705
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms)
38706
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38707
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:27 -0700
38708
+ Processing by LunarShell::Satellites::SuController#run as JS
38709
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38710
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
38711
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.1ms)
38712
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
38713
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:27 -0700
38714
+ Processing by LunarShell::Satellites::SuController#create as JS
38715
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38716
+ 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
38717
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
38718
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms)
38719
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms)
38720
+ Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)
38721
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:27 -0700
38722
+ Processing by LunarShell::Satellites::PasswdController#run as JS
38723
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
38724
+ 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
38725
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms)
38726
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.1ms)
38727
+ Completed 200 OK in 40ms (Views: 38.4ms | ActiveRecord: 0.4ms)
38728
+ Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:40:27 -0700
38729
+ Processing by LunarShell::Satellites::PasswdController#new_password as JS
38730
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
38731
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms)
38732
+ Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)
38733
+ Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:40:27 -0700
38734
+ Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
38735
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
38736
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms)
38737
+ Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms)
38738
+ Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:40:27 -0700
38739
+ Processing by LunarShell::Satellites::PasswdController#create as JS
38740
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
38741
+ 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
38742
+  (0.1ms) BEGIN
38743
+ SQL (0.5ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$kcAqa/8marCbByAoEArRMeySQ3dCViH3DyMCjuZrSZrRVWcZHEJIK"], ["updated_at", "2016-06-26 00:40:27.985878"], ["id", 227792459]]
38744
+  (1.1ms) COMMIT
38745
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
38746
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms)
38747
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (3.8ms)
38748
+ Completed 200 OK in 33ms (Views: 19.9ms | ActiveRecord: 2.5ms)
38749
+  (0.4ms) ROLLBACK
38750
+  (0.1ms) BEGIN
38751
+ ------------------------------
38752
+ PasswdTest: test_not_logged_in
38753
+ ------------------------------
38754
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:28 -0700
38755
+ Processing by LunarShell::ShellsController#show as HTML
38756
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38757
+ 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
38758
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38759
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
38760
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
38761
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
38762
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:28 -0700
38763
+ Processing by LunarShell::Satellites::PasswdController#run as JS
38764
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
38765
+ 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
38766
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms)
38767
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms)
38768
+ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.4ms)
38769
+  (0.2ms) ROLLBACK
38770
+  (0.1ms) BEGIN
38771
+ ------------------------------
38772
+ ClearTest: test_clears_history
38773
+ ------------------------------
38774
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:30 -0700
38775
+ Processing by LunarShell::ShellsController#show as HTML
38776
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38777
+ 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
38778
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38779
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
38780
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
38781
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
38782
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:30 -0700
38783
+ Processing by LunarShell::Satellites::ClearController#run as JS
38784
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
38785
+ 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
38786
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38787
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
38788
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (2.1ms)
38789
+ Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.3ms)
38790
+  (0.1ms) ROLLBACK
38791
+  (0.1ms) BEGIN
38792
+ ------------------------
38793
+ ExitTest: test_logged_in
38794
+ ------------------------
38795
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:30 -0700
38796
+ Processing by LunarShell::ShellsController#show as HTML
38797
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38798
+ 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
38799
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
38800
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
38801
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
38802
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
38803
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38804
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:30 -0700
38805
+ Processing by LunarShell::Satellites::SuController#run as JS
38806
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38807
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms)
38808
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms)
38809
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
38810
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:30 -0700
38811
+ Processing by LunarShell::Satellites::SuController#create as JS
38812
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38813
+ 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
38814
+ 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
38815
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
38816
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
38817
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms)
38818
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.7ms)
38819
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:30 -0700
38820
+ Processing by LunarShell::Satellites::ExitController#run as JS
38821
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
38822
+ 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
38823
+ 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
38824
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms)
38825
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
38826
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms)
38827
+ Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.3ms)
38828
+  (0.1ms) ROLLBACK
38829
+  (0.1ms) BEGIN
38830
+ ----------------------------
38831
+ ExitTest: test_not_logged_in
38832
+ ----------------------------
38833
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38834
+ Processing by LunarShell::ShellsController#show as HTML
38835
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38836
+ 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
38837
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
38838
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
38839
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
38840
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
38841
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38842
+ Processing by LunarShell::Satellites::ExitController#run as JS
38843
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
38844
+ 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
38845
+ 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
38846
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms)
38847
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms)
38848
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms)
38849
+ Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.4ms)
38850
+  (0.1ms) ROLLBACK
38851
+  (0.1ms) BEGIN
38852
+ ------------------------
38853
+ QuitTest: test_logged_in
38854
+ ------------------------
38855
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38856
+ Processing by LunarShell::ShellsController#show as HTML
38857
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38858
+ 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
38859
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
38860
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
38861
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
38862
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
38863
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
38864
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38865
+ Processing by LunarShell::Satellites::SuController#run as JS
38866
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
38867
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms)
38868
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms)
38869
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
38870
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38871
+ Processing by LunarShell::Satellites::SuController#create as JS
38872
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
38873
+ 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
38874
+ 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
38875
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
38876
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms)
38877
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.6ms)
38878
+ Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.0ms)
38879
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38880
+ Processing by LunarShell::Satellites::QuitController#run as JS
38881
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
38882
+ 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
38883
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms)
38884
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
38885
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms)
38886
+ Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.6ms)
38887
+  (0.1ms) ROLLBACK
38888
+  (0.1ms) BEGIN
38889
+ ----------------------------
38890
+ QuitTest: test_not_logged_in
38891
+ ----------------------------
38892
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38893
+ Processing by LunarShell::ShellsController#show as HTML
38894
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
38895
+ 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
38896
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
38897
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
38898
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms)
38899
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
38900
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38901
+ Processing by LunarShell::Satellites::QuitController#run as JS
38902
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
38903
+ 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
38904
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
38905
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
38906
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.0ms)
38907
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.5ms)
38908
+  (0.1ms) ROLLBACK
38909
+  (0.1ms) BEGIN
38910
+ -------------------------------
38911
+ HistoryTest: test_shows_history
38912
+ -------------------------------
38913
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:33 -0700
38914
+ Processing by LunarShell::ShellsController#show as HTML
38915
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
38916
+ 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
38917
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
38918
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms)
38919
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms)
38920
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.6ms)
38921
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:34 -0700
38922
+ Processing by LunarShell::Satellites::ExitController#run as JS
38923
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
38924
+ 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
38925
+ 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
38926
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
38927
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
38928
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms)
38929
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.4ms)
38930
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:34 -0700
38931
+ Processing by LunarShell::Satellites::QuitController#run as JS
38932
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
38933
+ 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
38934
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
38935
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
38936
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms)
38937
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms)
38938
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:34 -0700
38939
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38940
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
38941
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms)
38942
+ Completed 200 OK in 20ms (Views: 19.5ms | ActiveRecord: 0.0ms)
38943
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:34 -0700
38944
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38945
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
38946
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38947
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
38948
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:36 -0700
38949
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38950
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
38951
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38952
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
38953
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:38 -0700
38954
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38955
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
38956
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38957
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
38958
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:40 -0700
38959
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38960
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
38961
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38962
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
38963
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:42 -0700
38964
+ Processing by LunarShell::Satellites::HistoryController#run as */*
38965
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
38966
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
38967
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
38968
+  (0.6ms) ROLLBACK
38969
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
38970
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
38971
+  (0.1ms) BEGIN
38972
+ Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users"
38973
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$gSA3y5PcivKvkDbOSLsH8exNAq5IplDcUa1PIErPMJJl3i7/i2Riu', 'root', '2016-06-26 00:41:04', '2016-06-26 00:41:04', 135138680)
38974
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ER0teWfu2b28RmyA2qjha.7EZRBGpc5MKLPMhyf3s7JNUZ5V26lPm', 'dave', '2016-06-26 00:41:04', '2016-06-26 00:41:04', 227792459)
38975
+  (1.4ms) COMMIT
38976
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
38977
+  (0.1ms) BEGIN
38978
+ --------------------------------
38979
+ NoCommandTest: test_nothing_sent
38980
+ --------------------------------
38981
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:07 -0700
38982
+ Processing by LunarShell::ShellsController#show as HTML
38983
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms)
38984
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
38985
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.9ms)
38986
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.8ms)
38987
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.6ms)
38988
+ Completed 200 OK in 567ms (Views: 557.0ms | ActiveRecord: 0.9ms)
38989
+ Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:41:07 -0700
38990
+ Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:41:07 -0700
38991
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:08 -0700
38992
+ Processing by LunarShell::SatellitesController#run as JS
38993
+ Parameters: {"utf8"=>"✓", "error"=>"run"}
38994
+ 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
38995
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms)
38996
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.5ms)
38997
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (31.5ms)
38998
+ Completed 200 OK in 54ms (Views: 53.8ms | ActiveRecord: 0.4ms)
38999
+  (0.2ms) ROLLBACK
39000
+  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
39001
+  (0.1ms) BEGIN
39002
+ Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users"
39003
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$/xlh5Xvn3rQEQYN9vkCCAOPRPiRotOvkoVpPPeuXAJxASDz1rKeQW', 'root', '2016-06-26 00:41:08', '2016-06-26 00:41:08', 135138680)
39004
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$EeQNnhrFvVKTO4Ze1PMaFe04242zU/lmM55tslVbNvGM8giNk3SnG', 'dave', '2016-06-26 00:41:08', '2016-06-26 00:41:08', 227792459)
39005
+  (1.0ms) COMMIT
39006
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
39007
+  (0.2ms) BEGIN
39008
+ -------------------------------
39009
+ SuTest: test_can_substitue_user
39010
+ -------------------------------
39011
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:08 -0700
39012
+ Processing by LunarShell::ShellsController#show as HTML
39013
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
39014
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39015
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
39016
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms)
39017
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms)
39018
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.7ms)
39019
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
39020
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]
39021
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:08 -0700
39022
+ Processing by LunarShell::Satellites::SuController#run as JS
39023
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
39024
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.4ms)
39025
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.1ms)
39026
+ Completed 200 OK in 43ms (Views: 42.5ms | ActiveRecord: 0.0ms)
39027
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:08 -0700
39028
+ Processing by LunarShell::Satellites::SuController#create as JS
39029
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
39030
+ LunarShell::User Load (1.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39031
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
39032
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms)
39033
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.0ms)
39034
+ Completed 200 OK in 29ms (Views: 22.0ms | ActiveRecord: 1.5ms)
39035
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:09 -0700
39036
+ Processing by LunarShell::Satellites::SuController#run as JS
39037
+ Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"}
39038
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
39039
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms)
39040
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
39041
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:09 -0700
39042
+ Processing by LunarShell::Satellites::SuController#create as JS
39043
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}}
39044
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39045
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
39046
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms)
39047
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms)
39048
+ Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.9ms)
39049
+  (0.6ms) ROLLBACK
39050
+  (0.2ms) BEGIN
39051
+ -------------------
39052
+ SuTest: test_log_in
39053
+ -------------------
39054
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:09 -0700
39055
+ Processing by LunarShell::ShellsController#show as HTML
39056
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
39057
+ 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
39058
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
39059
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
39060
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
39061
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
39062
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
39063
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:09 -0700
39064
+ Processing by LunarShell::Satellites::SuController#run as JS
39065
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
39066
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
39067
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
39068
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
39069
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:09 -0700
39070
+ Processing by LunarShell::Satellites::SuController#create as JS
39071
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
39072
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39073
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms)
39074
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
39075
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms)
39076
+ Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.9ms)
39077
+  (0.1ms) ROLLBACK
39078
+  (0.1ms) BEGIN
39079
+ ------------------------------
39080
+ PasswdTest: test_not_logged_in
39081
+ ------------------------------
39082
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:09 -0700
39083
+ Processing by LunarShell::ShellsController#show as HTML
39084
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39085
+ 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
39086
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms)
39087
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms)
39088
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms)
39089
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms)
39090
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:10 -0700
39091
+ Processing by LunarShell::Satellites::PasswdController#run as JS
39092
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
39093
+ 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
39094
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (2.1ms)
39095
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.0ms)
39096
+ Completed 200 OK in 43ms (Views: 40.8ms | ActiveRecord: 0.3ms)
39097
+  (0.3ms) ROLLBACK
39098
+  (0.1ms) BEGIN
39099
+ --------------------------
39100
+ PasswdTest: test_logged_in
39101
+ --------------------------
39102
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:12 -0700
39103
+ Processing by LunarShell::ShellsController#show as HTML
39104
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
39105
+ 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
39106
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
39107
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
39108
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms)
39109
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.4ms)
39110
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
39111
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:12 -0700
39112
+ Processing by LunarShell::Satellites::SuController#run as JS
39113
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
39114
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.2ms)
39115
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (2.1ms)
39116
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)
39117
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:12 -0700
39118
+ Processing by LunarShell::Satellites::SuController#create as JS
39119
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
39120
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39121
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
39122
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms)
39123
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms)
39124
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.9ms)
39125
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:12 -0700
39126
+ Processing by LunarShell::Satellites::PasswdController#run as JS
39127
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
39128
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39129
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms)
39130
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (1.6ms)
39131
+ Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.9ms)
39132
+ Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:41:12 -0700
39133
+ Processing by LunarShell::Satellites::PasswdController#new_password as JS
39134
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
39135
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.1ms)
39136
+ Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.0ms)
39137
+ Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:41:12 -0700
39138
+ Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
39139
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
39140
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms)
39141
+ Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms)
39142
+ Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:41:13 -0700
39143
+ Processing by LunarShell::Satellites::PasswdController#create as JS
39144
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
39145
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39146
+  (0.4ms) BEGIN
39147
+ SQL (0.5ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$y9DvztMGLjOL.QSrW12oa.TYQY.iFVxerLEMbcNwNv.5SdfgVyhBm"], ["updated_at", "2016-06-26 00:41:13.034878"], ["id", 227792459]]
39148
+  (1.3ms) COMMIT
39149
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
39150
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms)
39151
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.6ms)
39152
+ Completed 200 OK in 42ms (Views: 23.9ms | ActiveRecord: 3.6ms)
39153
+  (0.1ms) ROLLBACK
39154
+  (0.1ms) BEGIN
39155
+ ------------------------
39156
+ QuitTest: test_logged_in
39157
+ ------------------------
39158
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:13 -0700
39159
+ Processing by LunarShell::ShellsController#show as HTML
39160
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
39161
+ 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
39162
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
39163
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
39164
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
39165
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
39166
+ LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
39167
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:13 -0700
39168
+ Processing by LunarShell::Satellites::SuController#run as JS
39169
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
39170
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
39171
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms)
39172
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
39173
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:13 -0700
39174
+ Processing by LunarShell::Satellites::SuController#create as JS
39175
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
39176
+ 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
39177
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39178
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms)
39179
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.9ms)
39180
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (4.4ms)
39181
+ Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 1.4ms)
39182
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:13 -0700
39183
+ Processing by LunarShell::Satellites::QuitController#run as JS
39184
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
39185
+ 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
39186
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
39187
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
39188
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms)
39189
+ Completed 200 OK in 25ms (Views: 23.8ms | ActiveRecord: 0.4ms)
39190
+  (0.2ms) ROLLBACK
39191
+  (0.1ms) BEGIN
39192
+ ----------------------------
39193
+ QuitTest: test_not_logged_in
39194
+ ----------------------------
39195
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:13 -0700
39196
+ Processing by LunarShell::ShellsController#show as HTML
39197
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39198
+ 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
39199
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
39200
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
39201
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
39202
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms)
39203
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:13 -0700
39204
+ Processing by LunarShell::Satellites::QuitController#run as JS
39205
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
39206
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39207
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
39208
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms)
39209
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.8ms)
39210
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.9ms)
39211
+  (0.2ms) ROLLBACK
39212
+  (0.1ms) BEGIN
39213
+ ------------------------
39214
+ ExitTest: test_logged_in
39215
+ ------------------------
39216
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:13 -0700
39217
+ Processing by LunarShell::ShellsController#show as HTML
39218
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39219
+ 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
39220
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
39221
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms)
39222
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms)
39223
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms)
39224
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
39225
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:14 -0700
39226
+ Processing by LunarShell::Satellites::SuController#run as JS
39227
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
39228
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
39229
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
39230
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
39231
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:14 -0700
39232
+ Processing by LunarShell::Satellites::SuController#create as JS
39233
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
39234
+ 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
39235
+ 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
39236
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
39237
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms)
39238
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.0ms)
39239
+ Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.9ms)
39240
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:14 -0700
39241
+ Processing by LunarShell::Satellites::ExitController#run as JS
39242
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
39243
+ LunarShell::User Load (1.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39244
+ 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
39245
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms)
39246
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms)
39247
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms)
39248
+ Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 1.3ms)
39249
+  (0.2ms) ROLLBACK
39250
+  (0.1ms) BEGIN
39251
+ ----------------------------
39252
+ ExitTest: test_not_logged_in
39253
+ ----------------------------
39254
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:16 -0700
39255
+ Processing by LunarShell::ShellsController#show as HTML
39256
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
39257
+ 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
39258
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms)
39259
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms)
39260
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms)
39261
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.6ms)
39262
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:16 -0700
39263
+ Processing by LunarShell::Satellites::ExitController#run as JS
39264
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
39265
+ 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
39266
+ 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
39267
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms)
39268
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms)
39269
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms)
39270
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)
39271
+  (0.2ms) ROLLBACK
39272
+  (0.1ms) BEGIN
39273
+ --------------------------------------
39274
+ CommandNotFoundTest: test_nothing_sent
39275
+ --------------------------------------
39276
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:16 -0700
39277
+ Processing by LunarShell::ShellsController#show as HTML
39278
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
39279
+ 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
39280
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
39281
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
39282
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms)
39283
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.4ms)
39284
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:17 -0700
39285
+ Processing by LunarShell::SatellitesController#run as JS
39286
+ Parameters: {"utf8"=>"✓", "command"=>"asdklfj", "error"=>"asdklfj/run"}
39287
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.5ms)
39288
+ 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
39289
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
39290
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
39291
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (17.7ms)
39292
+ Completed 200 OK in 33ms (Views: 32.2ms | ActiveRecord: 0.4ms)
39293
+  (0.2ms) ROLLBACK
39294
+  (0.2ms) BEGIN
39295
+ -------------------------------
39296
+ HistoryTest: test_shows_history
39297
+ -------------------------------
39298
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:17 -0700
39299
+ Processing by LunarShell::ShellsController#show as HTML
39300
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39301
+ 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
39302
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
39303
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
39304
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
39305
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms)
39306
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:17 -0700
39307
+ Processing by LunarShell::Satellites::ExitController#run as JS
39308
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
39309
+ 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
39310
+ 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
39311
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
39312
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
39313
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms)
39314
+ Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.5ms)
39315
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:17 -0700
39316
+ Processing by LunarShell::Satellites::QuitController#run as JS
39317
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
39318
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39319
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms)
39320
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms)
39321
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.1ms)
39322
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.7ms)
39323
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:17 -0700
39324
+ Processing by LunarShell::Satellites::HistoryController#run as */*
39325
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
39326
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms)
39327
+ Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
39328
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:17 -0700
39329
+ Processing by LunarShell::Satellites::HistoryController#run as */*
39330
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
39331
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
39332
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
39333
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:19 -0700
39334
+ Processing by LunarShell::Satellites::HistoryController#run as */*
39335
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
39336
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.2ms)
39337
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
39338
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:21 -0700
39339
+ Processing by LunarShell::Satellites::HistoryController#run as */*
39340
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
39341
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
39342
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
39343
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:23 -0700
39344
+ Processing by LunarShell::Satellites::HistoryController#run as */*
39345
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
39346
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
39347
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
39348
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:26 -0700
39349
+ Processing by LunarShell::Satellites::HistoryController#run as */*
39350
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
39351
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.2ms)
39352
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
39353
+  (0.1ms) ROLLBACK
39354
+  (0.1ms) BEGIN
39355
+ ------------------------------
39356
+ ClearTest: test_clears_history
39357
+ ------------------------------
39358
+ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:26 -0700
39359
+ Processing by LunarShell::ShellsController#show as HTML
39360
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
39361
+ 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
39362
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
39363
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
39364
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
39365
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms)
39366
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:26 -0700
39367
+ Processing by LunarShell::Satellites::ClearController#run as JS
39368
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
39369
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39370
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms)
39371
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms)
39372
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (3.9ms)
39373
+ Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.7ms)
39374
+  (0.3ms) ROLLBACK