(0.9ms) CREATE TABLE "lunar_shell_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(32) NOT NULL, "password_digest" varchar NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160616024022') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616024022)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "lunar_shell_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(32) NOT NULL, "password_digest" varchar NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160616024022"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lunar_shell_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lunar_shell_users_on_username' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) CREATE TABLE "lunar_shell_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(32) NOT NULL, "password_digest" varchar NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160616024022') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616015436)  (0.2ms) begin transaction  (0.1ms) CREATE TABLE "lunar_shell_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(32) NOT NULL, "password_digest" varchar NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) rollback transaction  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616015436)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "lunar_shell_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(32) NOT NULL, "password_digest" varchar NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160616015436"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lunar_shell_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lunar_shell_users_on_username' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction -------------------------- LunarShellTest: test_truth --------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------- ExitTest: test_not_logged_in ----------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction -------------------------- LunarShellTest: test_truth --------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:18:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (21.1ms) Completed 200 OK in 581ms (Views: 572.4ms | ActiveRecord: 0.5ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:18:36 -0700 Processing by LunarShell::InterpreterController#create as HTML Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:20:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (9.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (23.0ms) Completed 200 OK in 327ms (Views: 316.9ms | ActiveRecord: 0.2ms) Started GET "/interpreter?delivery_method=deliver&status=pending&format=js" for 127.0.0.1 at 2016-06-19 16:20:09 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------- LunarShellTest: test_truth --------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:20:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (16.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (19.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (26.3ms) Completed 200 OK in 328ms (Views: 320.7ms | ActiveRecord: 0.5ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:20:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"delivery_method"=>"deliver", "status"=>"pending"} Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------- LunarShellTest: test_truth --------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:22:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (1.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (13.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (28.0ms) Completed 200 OK in 331ms (Views: 319.3ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:22:26 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (11.9ms) Completed 200 OK in 28ms (Views: 20.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------- LunarShellTest: test_truth --------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction -------------------------- LunarShellTest: test_truth --------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:22:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (10.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (18.3ms) Completed 200 OK in 317ms (Views: 304.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:22:36 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.5ms) Completed 200 OK in 24ms (Views: 17.1ms | ActiveRecord: 0.8ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction -------------------------- LunarShellTest: test_truth --------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:23:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (8.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (10.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.6ms) Completed 200 OK in 308ms (Views: 301.0ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:23:08 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (10.2ms) Completed 200 OK in 26ms (Views: 17.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users"  (0.6ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users"  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$d6k3grUcegAu.JyapGbsDOW2iES8f4pelvbu6DxT0iJ4yXMH1c36y', 'dave', '2016-06-19 23:31:16', '2016-06-19 23:31:16', 413685242)  (1.6ms) commit transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response ---------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:31:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.6ms) Completed 200 OK in 317ms (Views: 308.7ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:31:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (1.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.2ms) Completed 200 OK in 24ms (Views: 16.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$fK/IwXpzh96PBHdZGNJe1.z37Fdaib7ZewdoSAr9QvUsv1FtnTHDG', 'dave', '2016-06-19 23:32:06', '2016-06-19 23:32:06', 413685242)  (1.6ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 413685242]] Started GET "/" for 127.0.0.1 at 2016-06-19 16:32:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.2ms) Completed 200 OK in 353ms (Views: 343.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:32:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.2ms) Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:32:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:32:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$S/U4BQlGvafm.kVVpz3W3epPiOMVXiO/wFle3/IJx98JJV1jauwqC', 'dave', '2016-06-19 23:34:22', '2016-06-19 23:34:22', 413685242)  (1.4ms) commit transaction  (2.9ms) begin transaction --------------------------------- ExitTest: test_logged_in_response ---------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:34:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.4ms) Completed 200 OK in 326ms (Views: 318.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:34:23 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.8ms) Completed 200 OK in 24ms (Views: 17.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$D58YIXKROz2CzaOlHYykJOKQGkSCBPjMk1tIQE/eqFbk9R3/jdPMK', 'dave', '2016-06-19 23:38:00', '2016-06-19 23:38:00', 413685242)  (1.5ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:38:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.7ms) Completed 200 OK in 318ms (Views: 307.9ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 413685242]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:38:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:38:00 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (11.0ms) Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$2R8BZXXMK8/fMlDPiXPBI.h0ckw29G.bxfoosS77qoGj3Uiv.1uFu', 'dave', '2016-06-19 23:38:19', '2016-06-19 23:38:19', 413685242)  (4.6ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:38:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.6ms) Completed 200 OK in 330ms (Views: 321.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 413685242]] Started POST "/satellites/su/413685242" for 127.0.0.1 at 2016-06-19 16:38:19 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:38:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:38:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.8ms) Completed 200 OK in 26ms (Views: 16.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$/cTGaid0nAykw32TIcx5tuI1NJIqybSKyvYnVaGUaH2ZzkOrNDPPu', 'dave', '2016-06-19 23:38:31', '2016-06-19 23:38:31', 413685242)  (1.6ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:38:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 314ms (Views: 302.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 413685242]] Started PATCH "/satellites/su/413685242" for 127.0.0.1 at 2016-06-19 16:38:31 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"password"=>"[FILTERED]", "id"=>"413685242"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 400 Bad Request in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:38:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:38:31 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (1.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.3ms) Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (1.9ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$UpJQ8VgrID8zDTEDtcHyWeL5u2IluMJpzmLGhtIJIK8PHs6y/TvJC', 'dave', '2016-06-19 23:39:16', '2016-06-19 23:39:16', 413685242)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:39:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.6ms) Completed 200 OK in 315ms (Views: 307.7ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 413685242]] Started PATCH "/satellites/su/413685242" for 127.0.0.1 at 2016-06-19 16:39:16 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"413685242"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:39:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:39:16 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (45.1ms) Completed 200 OK in 78ms (Views: 62.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ZXF1hO.3Z4xrKy5VBf.Q5.Y9.62mpFxxlLwzgOiLMteRGBys5SEfS', 'dave', '2016-06-19 23:39:56', '2016-06-19 23:39:56', 413685242)  (1.4ms) commit transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:39:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.7ms) Completed 200 OK in 307ms (Views: 300.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 413685242]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:39:57 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 413685242]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (17.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (30.7ms) Completed 200 OK in 60ms (Views: 37.2ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/413685242" for 127.0.0.1 at 2016-06-19 16:39:57 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"413685242"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 413685242]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (26.6ms) Completed 200 OK in 45ms (Views: 42.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:39:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:39:57 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (23.7ms) Completed 200 OK in 47ms (Views: 34.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$1qwPWrbvuRuy7W4AplukcOseLw1cAKYTSXFLWKq6JxypUrWrAYpm6', 'root', '2016-06-19 23:43:38', '2016-06-19 23:43:38', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$r.2jDSacXe68YaBT/VJ/YectDpkm5eJEnvGfJ5ev8s8669Gmz/KHq', 'dave', '2016-06-19 23:43:38', '2016-06-19 23:43:38', 227792459)  (1.4ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:43:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.9ms) Completed 200 OK in 303ms (Views: 293.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:43:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.4ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:43:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (50.7ms) Completed 200 OK in 81ms (Views: 67.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$fFjfJ57n17QT3q5j1Ofg9ONpgRynjIoTc.z1inv/CcH5MLjQIjTXC', 'root', '2016-06-19 23:44:12', '2016-06-19 23:44:12', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$a9jsvTpdfF2m5E/CnZfS/urMuvl2kLu/KkC4xPqOaBt0WQMJCSBga', 'dave', '2016-06-19 23:44:12', '2016-06-19 23:44:12', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:44:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 314ms (Views: 303.0ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (26.3ms) Completed 200 OK in 51ms (Views: 33.0ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:44:12 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (26.6ms) Completed 200 OK in 44ms (Views: 42.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (3.0ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (18.2ms) Completed 200 OK in 26ms (Views: 21.9ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:44:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.9ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (22.5ms) Completed 200 OK in 46ms (Views: 33.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$dorsAzU9zBVfMbvU8AyMSO4elZZlB4C2D/1RgE3pmX4I0dywAqBmS', 'root', '2016-06-19 23:44:26', '2016-06-19 23:44:26', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$HpI14wW3ZPK.LXxn4xnSmO4FCiY5lWEKGU2TX2kMqZ0oOfGJH2oOC', 'dave', '2016-06-19 23:44:26', '2016-06-19 23:44:26', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:44:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.0ms) Completed 200 OK in 312ms (Views: 301.2ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:26 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (26.1ms) Completed 200 OK in 48ms (Views: 31.7ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:44:26 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (26.8ms) Completed 200 OK in 44ms (Views: 42.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:26 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.2ms) Completed 200 OK in 20ms (Views: 15.8ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:44:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.0ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:26 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (23.4ms) Completed 200 OK in 48ms (Views: 35.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.9ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$RmARCvVNYC4fX6VuyutVROnaFaXfVO9gN1yyjw2gBa3X14J/Fg/s.', 'root', '2016-06-19 23:44:38', '2016-06-19 23:44:38', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$IwY72Am4SbAV0E/adoHC3uwokkm5FJvwXSpCqaZSNjWrkd1WpIhH.', 'dave', '2016-06-19 23:44:38', '2016-06-19 23:44:38', 227792459)  (1.9ms) commit transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:44:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.2ms) Completed 200 OK in 302ms (Views: 293.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (25.6ms) Completed 200 OK in 47ms (Views: 31.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:44:39 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (22.3ms) Completed 200 OK in 40ms (Views: 37.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (1.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.8ms) Completed 200 OK in 15ms (Views: 11.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:44:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.6ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:44:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (25.2ms) Completed 200 OK in 56ms (Views: 41.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$mOt6RzNRa3lBi9jfmI6WTuQ8TNYclWMahzDPURjcFnz4ObtjTJAwm', 'root', '2016-06-19 23:54:47', '2016-06-19 23:54:47', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$RqN.ouJYvxvs49JL.i8AxeD2WtffUiA/ESWN0AMUFPVmz2NNxyGFm', 'dave', '2016-06-19 23:54:47', '2016-06-19 23:54:47', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:54:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (17.0ms) Completed 200 OK in 391ms (Views: 382.6ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:54:48 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (47.8ms) Completed 200 OK in 79ms (Views: 64.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:54:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (6.3ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:54:48 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (24.2ms) Completed 200 OK in 42ms (Views: 24.6ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:54:48 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.4ms) Completed 200 OK in 19ms (Views: 16.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:54:48 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (1.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (8.5ms) Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.9ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$k.yce3MR6vLsAzD7mhLdc.wz4zm.OE2nsKzKDTNN32I1oyUBxOLhO', 'root', '2016-06-19 23:55:16', '2016-06-19 23:55:16', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$5Ov3xJO/G73ppkrTnYYAa.bl2PTB2ppqyzGLX1.fEGfucEYy8kylS', 'dave', '2016-06-19 23:55:16', '2016-06-19 23:55:16', 227792459)  (1.8ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:55:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.2ms) Completed 200 OK in 326ms (Views: 315.0ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:55:16 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (17.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (31.1ms) Completed 200 OK in 54ms (Views: 37.7ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:55:17 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (26.7ms) Completed 200 OK in 47ms (Views: 45.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:55:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.3ms) Completed 200 OK in 19ms (Views: 14.2ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:55:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:55:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (26.0ms) Completed 200 OK in 55ms (Views: 40.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$UexNHHpupfWfepAzeCF3A.MklYclkdgy1rtaiLvzCp/pEBdqcR3e6', 'root', '2016-06-19 23:55:55', '2016-06-19 23:55:55', 135138680) Fixture Insert (0.0ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$VN5ncn9S5JH/tITL4B31be7d6QoT7znLETKAk6ktI04xrXrHfzfxe', 'dave', '2016-06-19 23:55:55', '2016-06-19 23:55:55', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:55:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 306ms (Views: 296.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:55:56 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (25.7ms) Completed 200 OK in 48ms (Views: 31.8ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:55:56 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (22.5ms) Completed 200 OK in 40ms (Views: 37.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:55:56 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.1ms) Completed 200 OK in 20ms (Views: 15.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:55:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:55:56 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (25.9ms) Completed 200 OK in 56ms (Views: 41.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$qEm3GD6O63dtP6um/V8myOmOfHQB3jB0ZCre.jvhU.fxDv/3ozdyu', 'root', '2016-06-19 23:57:11', '2016-06-19 23:57:11', 135138680) Fixture Insert (0.0ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$q46Lh9enOJfH9MeSr5sCmudxM/zTon.pjU3hQoz0/qZhPpBwLTuy6', 'dave', '2016-06-19 23:57:11', '2016-06-19 23:57:11', 227792459)  (1.4ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:57:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.0ms) Completed 200 OK in 332ms (Views: 322.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:57:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (25.9ms) Completed 200 OK in 48ms (Views: 31.7ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:57:12 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (25.8ms) Completed 200 OK in 44ms (Views: 41.9ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:57:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.6ms) Completed 200 OK in 20ms (Views: 14.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:57:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:57:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (25.6ms) Completed 200 OK in 55ms (Views: 41.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$2jG9QGQ3V.RCvmGXrmJQtO3vh4MhxD4/ougQBTku.zvueoA7DC/Y2', 'root', '2016-06-19 23:59:17', '2016-06-19 23:59:17', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$gQnwzVkPyOwbNepIc0rP5eICZ3Fq2XXtO52NZh/HdNzZCQYzNEUP.', 'dave', '2016-06-19 23:59:17', '2016-06-19 23:59:17', 227792459)  (1.3ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:59:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.5ms) Completed 200 OK in 315ms (Views: 307.0ms | ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-06-19 16:59:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:59:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (21.1ms) Completed 200 OK in 48ms (Views: 26.7ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:59:18 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (23.6ms) Completed 200 OK in 43ms (Views: 40.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:59:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (9.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (16.7ms) Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:59:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.5ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:59:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (24.6ms) Completed 200 OK in 53ms (Views: 36.6ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$/ZlnKlAE.nugywGQ3ZMll.upsP0csEcLaBSMCASaVjxN1.MzuoWp2', 'root', '2016-06-19 23:59:32', '2016-06-19 23:59:32', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$HLb9hw3QmJl4PUFJqqa8SOm2IckMRmL6KsFxoZYI4w00opOgQtywW', 'dave', '2016-06-19 23:59:32', '2016-06-19 23:59:32', 227792459)  (1.7ms) commit transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:59:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 313ms (Views: 303.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:59:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (44.5ms) Completed 200 OK in 78ms (Views: 60.7ms | ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 16:59:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-06-19 16:59:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:59:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (8.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (20.4ms) Completed 200 OK in 37ms (Views: 20.8ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 16:59:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.4ms) Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 16:59:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.9ms) Completed 200 OK in 15ms (Views: 11.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$EK1YQdenArFTEQZSgx6uo.jyrVLegfsYUF6KDD/PydqdKkwG/NHni', 'root', '2016-06-20 00:00:13', '2016-06-20 00:00:13', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$P4Al9V24OHQcCmkvy.9NcujjWhqHtg9d56LmL9bM3hLttntyw3RiW', 'dave', '2016-06-20 00:00:13', '2016-06-20 00:00:13', 227792459)  (1.4ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:00:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.2ms) Completed 200 OK in 317ms (Views: 309.5ms | ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-06-19 17:00:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:00:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:00:13 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (44.2ms) Completed 200 OK in 81ms (Views: 60.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$BSZrx4INnfIj3Ke5s2RMzuvND5SVRf/IvXo.GwiA1aM4lAatHYQTa', 'root', '2016-06-20 00:02:40', '2016-06-20 00:02:40', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$KeRADvja1xe2cpSt4rkGJOEAXFQdlpBxEkRlS2Wdrw86fVhRiA8zK', 'dave', '2016-06-20 00:02:40', '2016-06-20 00:02:40', 227792459)  (1.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:02:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.7ms) Completed 200 OK in 314ms (Views: 306.0ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:02:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (46.4ms) Completed 200 OK in 77ms (Views: 62.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:02:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-06-19 17:02:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:02:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (8.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (20.1ms) Completed 200 OK in 36ms (Views: 20.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:02:41 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.3ms) Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:02:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (2.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (9.4ms) Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$9EgaIY3CyOS8IEjMkiugL.NbsRHO8I8zprkRVrblSJ77QXN0/QIcG', 'root', '2016-06-20 00:03:50', '2016-06-20 00:03:50', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$yLpD2Fw579YSjWftHw21huw2cWP.iu5ZfK8x6GFuObNvwn1NIkSKS', 'dave', '2016-06-20 00:03:50', '2016-06-20 00:03:50', 227792459)  (1.4ms) commit transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response -------------------------------------  (2.9ms) rollback transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:03:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.9ms) Completed 200 OK in 310ms (Views: 302.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:05:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.7ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (12.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (25.9ms) Completed 200 OK in 324ms (Views: 312.4ms | ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2016-06-19 17:05:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "lunar_shell_users" ("username", "password_digest", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["username", "dave"], ["password_digest", "$2a$04$7ZqSONaCWauf5eP5Ua9fM.sGHZltoZ2c3yRMkOANX8rjWefsN0m/a"], ["created_at", "2016-06-20 00:05:25.651302"], ["updated_at", "2016-06-20 00:05:25.651302"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:05:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:05:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (47.0ms) Completed 200 OK in 76ms (Views: 63.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:05:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (8.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (10.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.7ms) Completed 200 OK in 328ms (Views: 317.6ms | ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2016-06-19 17:05:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:05:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:05:44 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (44.5ms) Completed 200 OK in 75ms (Views: 61.6ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$tQmAXRRZd2xvPC/pBzwhC.4jKP8F/K/C07T5TY03VxAW8zrcurb3e', 'dave', '2016-06-20 00:06:45', '2016-06-20 00:06:45', 227792459)  (1.3ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:06:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.5ms) Completed 200 OK in 305ms (Views: 296.9ms | ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2016-06-19 17:06:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:06:45 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (20.6ms) Completed 200 OK in 47ms (Views: 26.1ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:06:45 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (22.1ms) Completed 200 OK in 39ms (Views: 37.3ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:06:45 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (1.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.6ms) Completed 200 OK in 19ms (Views: 14.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:06:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:06:45 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (29.7ms) Completed 200 OK in 59ms (Views: 45.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$QDO4x1DTyiKWfb/ZbnM5L.vcThbMaHwbI7.lODPwlqI08K1bW2VPe', 'root', '2016-06-20 00:08:24', '2016-06-20 00:08:24', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$5Q9pUul4IsKnEhz5cigc1ugRG7RiiU5bWeHwhmMVqB6SQKjUYEguq', 'dave', '2016-06-20 00:08:24', '2016-06-20 00:08:24', 227792459)  (1.6ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:08:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.1ms) Completed 200 OK in 307ms (Views: 297.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:08:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (25.3ms) Completed 200 OK in 47ms (Views: 31.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:08:24 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (28.2ms) Completed 200 OK in 46ms (Views: 43.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:08:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (23.4ms) Completed 200 OK in 55ms (Views: 38.6ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:08:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:08:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (1.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$mNlh5SVOIvFXJLGWTVcIBejGfKbVHuhIPGh6ibUwGFBusiNo.WIjm', 'root', '2016-06-20 00:17:59', '2016-06-20 00:17:59', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$eXbkhXzv6kXPOGEzyrvEO.3Gv/0dhTtGUSTKInvok485byWZk/8P2', 'dave', '2016-06-20 00:17:59', '2016-06-20 00:17:59', 227792459)  (2.0ms) commit transaction  (0.2ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:17:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.8ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (21.5ms) Completed 200 OK in 575ms (Views: 562.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:18:00 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (27.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (43.5ms) Completed 200 OK in 89ms (Views: 52.2ms | ActiveRecord: 1.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:18:00 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (10.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (27.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (48.6ms) Completed 200 OK in 79ms (Views: 74.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:18:00 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (26.5ms) Completed 200 OK in 63ms (Views: 46.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:18:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:18:00 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.3ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (3.7ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$TwEMaQUDfqGr5qqqmgcVTOdu5z3fnQi2hs8hdl1HP5muZaLZb8aAC', 'root', '2016-06-20 00:28:40', '2016-06-20 00:28:40', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$W5vaWr08ENevM0DXP.jQXe0BnkV4pJ/57.ZVuzz9487ZkWVfQGsOS', 'dave', '2016-06-20 00:28:40', '2016-06-20 00:28:40', 227792459)  (0.8ms) commit transaction  (0.0ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:28:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (18.5ms) Completed 200 OK in 451ms (Views: 442.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (21.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (44.3ms) Completed 200 OK in 81ms (Views: 53.8ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (46.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (66.8ms) Completed 200 OK in 96ms (Views: 93.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (15.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (50.2ms) Completed 200 OK in 104ms (Views: 78.5ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (5.1ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.0ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- QuitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (8.0ms) Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (1.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 12ms (Views: 2.6ms | ActiveRecord: 1.6ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.1ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (1.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.3ms) Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 1.5ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:41 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$UYe898VXj0ANgdhCwtsen.q13ZFNdansQy1Hbho9uu0c1wWqJLmYm', 'root', '2016-06-20 00:28:58', '2016-06-20 00:28:58', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$t1OSjbCBGxi3Mrl0.jFoxOlt9T7x1P/Bt5bB08tZOZlyWcqTjADVi', 'dave', '2016-06-20 00:28:58', '2016-06-20 00:28:58', 227792459)  (2.0ms) commit transaction  (0.7ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:28:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.1ms) Completed 200 OK in 411ms (Views: 399.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:58 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (31.8ms) Completed 200 OK in 79ms (Views: 56.3ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:28:58 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (31.6ms) Completed 200 OK in 57ms (Views: 54.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:58 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (14.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (34.7ms) Completed 200 OK in 92ms (Views: 62.3ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:28:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.9ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:59 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------- QuitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:28:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.9ms) Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:59 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.8ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:28:59 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.4ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:59 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (21.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (26.0ms) Completed 200 OK in 59ms (Views: 27.3ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:28:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:28:59 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.9ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) begin transaction Fixture Delete (1.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$FAvkHA6JUg9Xc1O3Gbsrr.94y4ClalWiH31Mmsu8PLvprrgSc3W4K', 'root', '2016-06-20 00:33:56', '2016-06-20 00:33:56', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$nzl8EuqPNZZyyM7G7tGto.ROvI9I2QDNqSCpF.yTsiJie/EQDoBv.', 'dave', '2016-06-20 00:33:56', '2016-06-20 00:33:56', 227792459)  (1.7ms) commit transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:33:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (20.7ms) Completed 200 OK in 763ms (Views: 752.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:33:56 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (15.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (30.3ms) Completed 200 OK in 65ms (Views: 44.2ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (33.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (57.6ms) Completed 200 OK in 79ms (Views: 76.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (15.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (31.8ms) Completed 200 OK in 112ms (Views: 75.3ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- QuitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.3ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.6ms) Completed 200 OK in 34ms (Views: 15.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------- SuTest: test_can_log_in ----------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:33:57 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.9ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$sRaM1SsHfglXujnd4Kc/7OvOffczySIYnXe1RXzXEnpDaCZA694q2', 'root', '2016-06-20 00:40:02', '2016-06-20 00:40:02', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$pSttsTP5z1amPXaOt0lR5O0uYyqfkl.W4tBeJwhF3S8QmjDFFx8Gm', 'dave', '2016-06-20 00:40:02', '2016-06-20 00:40:02', 227792459)  (0.6ms) commit transaction  (0.0ms) begin transaction ----------------------- SuTest: test_can_log_in ----------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.4ms) Completed 200 OK in 433ms (Views: 423.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (29.5ms) Completed 200 OK in 67ms (Views: 43.7ms | ActiveRecord: 0.6ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (20.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (34.4ms) Completed 200 OK in 57ms (Views: 52.9ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.3ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.7ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.3ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.9ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (3.6ms) Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- QuitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.4ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.4ms) Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (22.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (40.4ms) Completed 200 OK in 92ms (Views: 61.6ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (5.2ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.7ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (3.2ms) Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.6ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:03 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (19.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (21.7ms) Completed 200 OK in 39ms (Views: 22.6ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.1ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$0RT6mipOox1DsE3RyNt7wObNqP6R6O2YpA8aWa.EURviAGNTrTyj.', 'root', '2016-06-20 00:40:31', '2016-06-20 00:40:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$vhm1Z1rqKaq1DGCRyeIw/eAtXkAGozQR3Up319MCfTwfWhzZTwZDS', 'dave', '2016-06-20 00:40:31', '2016-06-20 00:40:31', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (9.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (24.1ms) Completed 200 OK in 417ms (Views: 405.7ms | ActiveRecord: 0.7ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (57.1ms) Completed 200 OK in 95ms (Views: 79.3ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.9ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (20.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (32.6ms) Completed 200 OK in 52ms (Views: 33.1ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (3.2ms) Completed 200 OK in 37ms (Views: 32.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (5.2ms) Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- QuitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (6.4ms) Completed 200 OK in 12ms (Views: 7.9ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (3.8ms) Completed 200 OK in 13ms (Views: 8.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (27.4ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (32.4ms) Completed 200 OK in 62ms (Views: 35.3ms | ActiveRecord: 0.5ms)  (0.2ms) rollback transaction  (0.5ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.9ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (5.5ms) Completed 200 OK in 12ms (Views: 6.9ms | ActiveRecord: 0.4ms)  (0.4ms) rollback transaction  (0.2ms) begin transaction ----------------------- SuTest: test_can_log_in ----------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.8ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.4ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.7ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (3.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 3.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:40:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.3ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$UhDm0Q32tF8G0g9oUQbgp.YmFDZnNWbP0j3KcEmHq3liWkhC5FwGG', 'root', '2016-06-20 00:41:52', '2016-06-20 00:41:52', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ViGSvi/keR4QDuRrKAfRJuu/His.0B5pC2IcYiwAAzBFnEaU9dQs6', 'dave', '2016-06-20 00:41:52', '2016-06-20 00:41:52', 227792459)  (1.8ms) commit transaction  (0.1ms) begin transaction --------------------------------- QuitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:41:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 834ms (Views: 825.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (15.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (38.2ms) Completed 200 OK in 93ms (Views: 48.4ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (42.0ms) Completed 200 OK in 75ms (Views: 68.6ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (14.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (29.8ms) Completed 200 OK in 59ms (Views: 43.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.9ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 1.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.1ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------- SuTest: test_can_log_in ----------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.5ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.5ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.5ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.9ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.1ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.9ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (4.6ms) begin transaction --------------------------------- ExitTest: test_logged_in_response --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.5ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.3ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (14.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (18.8ms) Completed 200 OK in 38ms (Views: 19.3ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:41:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$tjDMKQavMyIX/Thyt8n0ROfHMbWfEaoG72clZFzVUuWNqj1oUcjPS', 'root', '2016-06-20 00:46:38', '2016-06-20 00:46:38', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$y4fCWyMlYU3xT6vxwHlkfuMsRxcuzlj.jD1XR1qof58xUnTEVRH9G', 'dave', '2016-06-20 00:46:38', '2016-06-20 00:46:38', 227792459)  (1.6ms) commit transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:46:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.3ms) Completed 200 OK in 386ms (Views: 377.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (26.0ms) Completed 200 OK in 61ms (Views: 32.7ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (20.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (33.6ms) Completed 200 OK in 59ms (Views: 56.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.1ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.2ms) Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.6ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.2ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_can_substitue_user ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.2ms) Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (5.6ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (28.2ms) Completed 200 OK in 58ms (Views: 40.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.0ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (16.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (17.8ms) Completed 200 OK in 31ms (Views: 18.3ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (15.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (16.3ms) Completed 200 OK in 30ms (Views: 16.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:46:39 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.7ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$V5ndUlhqV8g3L1jJ3f7Fy.BM5vgFufcFzlJheSvGpRl.hiRqOmv2W', 'root', '2016-06-20 00:47:23', '2016-06-20 00:47:23', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$RoWa9Vu/hRV.Y/ssLIt/uu3FzWc4N/1PGuxDK4FpWlT1cNeRQCVCm', 'dave', '2016-06-20 00:47:23', '2016-06-20 00:47:23', 227792459)  (1.8ms) commit transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_can_substitue_user ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:47:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (23.1ms) Completed 200 OK in 409ms (Views: 395.8ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:23 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (11.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (26.6ms) Completed 200 OK in 60ms (Views: 32.3ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:47:23 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (1.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (32.3ms) Completed 200 OK in 54ms (Views: 50.1ms | ActiveRecord: 1.6ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (14.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (27.9ms) Completed 200 OK in 57ms (Views: 42.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.4ms) Completed 200 OK in 31ms (Views: 14.8ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.9ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (3.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (16.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (18.3ms) Completed 200 OK in 34ms (Views: 19.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (3.3ms) Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.8ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:47:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$YrOOIFxBg81PEmfBN5FRFumnrPfEX6dZDTWSgNVhkaW81KCEaFq7W', 'root', '2016-06-20 00:56:14', '2016-06-20 00:56:14', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$tXGtWGDBhTe98yqX9eqEIef5jgIx5Fy7Gf9SqapMhGK2AwnILsw.G', 'dave', '2016-06-20 00:56:14', '2016-06-20 00:56:14', 227792459)  (1.4ms) commit transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.0ms) Completed 200 OK in 351ms (Views: 343.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (21.5ms) Completed 200 OK in 52ms (Views: 27.4ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (25.6ms) Completed 200 OK in 47ms (Views: 44.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (25.6ms) Completed 200 OK in 60ms (Views: 44.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.3ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.7ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (15.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (17.2ms) Completed 200 OK in 34ms (Views: 17.9ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.1ms) Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.9ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (19.2ms) Completed 200 OK in 38ms (Views: 19.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.5ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.8ms) Completed 200 OK in 28ms (Views: 14.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$CM5Ww4LcYeAQP7NcoA5RRua4POcKRzlWbAskfjWnI6crnvYtM3nBC', 'root', '2016-06-20 00:56:32', '2016-06-20 00:56:32', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$T/J4.dZxUIypuMFArvehS.iMvTjbZV7v9/Qizngt2PZcbbzWBw32C', 'dave', '2016-06-20 00:56:32', '2016-06-20 00:56:32', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.2ms) Completed 200 OK in 348ms (Views: 338.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (25.3ms) Completed 200 OK in 59ms (Views: 31.3ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (30.7ms) Completed 200 OK in 50ms (Views: 48.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.2ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.9ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.3ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.3ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.0ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.6ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (35.4ms) Completed 200 OK in 68ms (Views: 49.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.6ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:32 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (16.4ms) Completed 200 OK in 32ms (Views: 16.7ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.1ms) Completed 200 OK in 19ms (Views: 18.9ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (0.9ms) Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.2ms) Completed 200 OK in 29ms (Views: 14.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.1ms) Completed 200 OK in 26ms (Views: 12.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.1ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:56:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ar1VGeJaZY0sNTxXWdjJIORf7yzOqAVJftnzX.UY2WHxccialdOWG', 'root', '2016-06-20 00:57:49', '2016-06-20 00:57:49', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$xzvCX7/08fDZXxtX6LGuQOtvulbkZIQFTdjQl/dToaGSj/M/kb6Ju', 'dave', '2016-06-20 00:57:49', '2016-06-20 00:57:49', 227792459)  (1.8ms) commit transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:57:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.2ms) Completed 200 OK in 381ms (Views: 371.8ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (11.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (26.5ms) Completed 200 OK in 59ms (Views: 32.3ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (31.2ms) Completed 200 OK in 52ms (Views: 48.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (15.1ms) Completed 200 OK in 36ms (Views: 16.7ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (2.6ms) Completed 200 OK in 21ms (Views: 21.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.3ms) Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$HfHW3y21/R4IomX99/aDPOzIjF3l9vaOuSi.G6cBlLG2fyGftogAy"], ["updated_at", "2016-06-20 00:57:50.313273"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.2ms) Completed 200 OK in 22ms (Views: 15.7ms | ActiveRecord: 0.4ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (14.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (32.2ms) Completed 200 OK in 57ms (Views: 43.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (15.4ms) Completed 200 OK in 31ms (Views: 15.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.8ms) Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.8ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (3.5ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.9ms) Completed 200 OK in 38ms (Views: 15.4ms | ActiveRecord: 0.3ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 17:57:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$UrQU8fTXdL/n/AxFaj16oO6JRGvGdx4sgYZPuT5bIxe2TM7W./zp.', 'root', '2016-06-20 02:10:49', '2016-06-20 02:10:49', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$sr4Gc/dCbjpbBNZdpp.HluhMRvF6yilQN5stBNeHo4qcsJfeeOwcG', 'dave', '2016-06-20 02:10:49', '2016-06-20 02:10:49', 227792459)  (2.5ms) commit transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:10:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.7ms) Completed 200 OK in 352ms (Views: 343.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (27.1ms) Completed 200 OK in 60ms (Views: 33.1ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (28.3ms) Completed 200 OK in 47ms (Views: 45.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (27.1ms) Completed 200 OK in 56ms (Views: 40.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.7ms) Completed 200 OK in 28ms (Views: 13.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.3ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.5ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.7ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.9ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.5ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.3ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (16.3ms) Completed 200 OK in 33ms (Views: 16.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.1ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.0ms) Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$wzt02reLcJolh8L6NdEJ8.VkM2olWnNHvzoyhBYji63DBbwaXzxGW"], ["updated_at", "2016-06-20 02:10:50.735182"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.8ms) Completed 200 OK in 22ms (Views: 14.3ms | ActiveRecord: 0.5ms)  (1.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:10:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.2ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (15.7ms) Completed 200 OK in 30ms (Views: 16.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$YsohxWmSbmt2Q/nk.qnsAOXcJPLm0j77GSjgJvgOIWQr0ZPTvLAfy', 'root', '2016-06-20 02:11:24', '2016-06-20 02:11:24', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$vsA2r/6v0fcZj/EfUqkcyuQyMwMx21XN7H/oNMSPCaDmrezIikFh.', 'dave', '2016-06-20 02:11:24', '2016-06-20 02:11:24', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:11:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 377ms (Views: 369.1ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:24 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (18.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (56.0ms) Completed 200 OK in 90ms (Views: 75.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (18.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (31.7ms) Completed 200 OK in 56ms (Views: 32.2ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.7ms) Completed 200 OK in 29ms (Views: 24.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.8ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.7ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.9ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (3.0ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (14.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (16.3ms) Completed 200 OK in 39ms (Views: 17.0ms | ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (4.4ms) Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.7ms) Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (18.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (21.6ms) Completed 200 OK in 47ms (Views: 22.2ms | ActiveRecord: 0.5ms)  (0.4ms) rollback transaction  (0.3ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (17.9ms) Completed 200 OK in 32ms (Views: 18.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (2.8ms) Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.1ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$6c3dQbfsM5vNYFRriJwGoulHVPuEmuLEzjfqoMmu0mhN2M6Kmo3yK"], ["updated_at", "2016-06-20 02:11:25.480265"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.7ms) Completed 200 OK in 20ms (Views: 15.0ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:11:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$QNAAq.8o2ukNndXf3N0e1uL7zYi2LF2BRj2oIFH.mlteA1W6ANIJ2', 'root', '2016-06-20 02:16:06', '2016-06-20 02:16:06', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$BUNve7HWGrx9hABeM/7nEe8/IUvXgCF1pD6ijal1X11uQVZWgBBOm', 'dave', '2016-06-20 02:16:06', '2016-06-20 02:16:06', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.7ms) Completed 200 OK in 487ms (Views: 479.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (11.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (26.8ms) Completed 200 OK in 63ms (Views: 32.6ms | ActiveRecord: 0.8ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (27.3ms) Completed 200 OK in 48ms (Views: 46.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (28.1ms) Completed 200 OK in 55ms (Views: 40.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.3ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.9ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.1ms) Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (15.1ms) Completed 200 OK in 32ms (Views: 15.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.2ms) Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (2.3ms) Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 1.0ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:16:06 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$gR2u3cDgLCnd2Uq2Z.2FIOlMq3UbjKShPfcK5LvlU02VYAnS/9DI6"], ["updated_at", "2016-06-20 02:16:06.983138"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.2ms) Completed 200 OK in 22ms (Views: 16.4ms | ActiveRecord: 0.4ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 13ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (16.0ms) Completed 200 OK in 30ms (Views: 16.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (3.5ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.8ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (3.6ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (15.4ms) Completed 200 OK in 37ms (Views: 16.0ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.6ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:16:07 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.3ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ypGcnsb8VzZdMenfGcC0ZeRX.g8wwaYS/Xm2fBXRpiNnWB4u67P0e', 'root', '2016-06-20 02:19:13', '2016-06-20 02:19:13', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$u0WmDJY6al0rvlMnrJ33Ku/hcdaGQpZqOZqm6kZrFCAs.snkfQBWy', 'dave', '2016-06-20 02:19:13', '2016-06-20 02:19:13', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.1ms) Completed 200 OK in 370ms (Views: 363.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:13 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (22.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (40.8ms) Completed 200 OK in 77ms (Views: 47.3ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:19:13 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (28.8ms) Completed 200 OK in 55ms (Views: 51.2ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:13 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (15.2ms) Completed 200 OK in 40ms (Views: 15.7ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:19:13 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (2.3ms) Completed 200 OK in 24ms (Views: 23.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:19:13 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (2.0ms) Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$NFslBL5HqOktS1UOdwWxReRjhbfBP5LAn6WZkKK7G7FoSWFyokbOa"], ["updated_at", "2016-06-20 02:19:14.009796"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (4.3ms) Completed 200 OK in 27ms (Views: 18.8ms | ActiveRecord: 0.9ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.5ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (15.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (30.3ms) Completed 200 OK in 58ms (Views: 41.9ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.5ms) Completed 200 OK in 30ms (Views: 12.9ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.4ms) Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.5ms) Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.8ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (15.6ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (21.8ms) Completed 200 OK in 36ms (Views: 22.3ms | ActiveRecord: 0.4ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.9ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.8ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.0ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.9ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.0ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.3ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:19:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$qfG00jC.zSZ9wBZRlG7DxeZLogqq1a6Qy71cCVrlc/roaLiWod/ty', 'root', '2016-06-20 02:21:54', '2016-06-20 02:21:54', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Ez0Pj5S4WolBBUsHQ55gseLcuyHighXPV0zhrMfOMzdSNCxmaWWW.', 'dave', '2016-06-20 02:21:54', '2016-06-20 02:21:54', 227792459)  (2.4ms) commit transaction  (0.2ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.4ms) Completed 200 OK in 397ms (Views: 389.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:54 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (13.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (28.3ms) Completed 200 OK in 70ms (Views: 37.3ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:21:54 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (29.8ms) Completed 200 OK in 51ms (Views: 48.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (2.5ms) Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (28.5ms) Completed 200 OK in 56ms (Views: 40.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.4ms) Completed 200 OK in 30ms (Views: 14.9ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.7ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.4ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.9ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.1ms) Completed 200 OK in 28ms (Views: 14.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (14.7ms) Completed 200 OK in 29ms (Views: 15.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.3ms) Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.8ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:21:55 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$GoWqEGTT.nhgSQnKknMV2eLEB8UIjrtFNP17R56Vy14mzw2lUYfr2"], ["updated_at", "2016-06-20 02:21:55.476980"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.7ms) Completed 200 OK in 20ms (Views: 14.0ms | ActiveRecord: 0.5ms)  (1.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (4.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$C8E.K4fOLuKnKwlVPlyXGuo35tsa1SM2y.jWUAXrI30Gbi99h2536', 'root', '2016-06-20 02:22:13', '2016-06-20 02:22:13', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$eCjHyjsX8.Lrmc4SEUTiROjrJZR/Lez/W1RTCqI4gQN/FhGZtLYba', 'dave', '2016-06-20 02:22:13', '2016-06-20 02:22:13', 227792459)  (2.0ms) commit transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (16.5ms) Completed 200 OK in 591ms (Views: 581.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (15.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (19.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (61.5ms) Completed 200 OK in 108ms (Views: 89.7ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.9ms) Completed 200 OK in 17ms (Views: 16.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (3.0ms) Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (2.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (1.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (16.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (33.5ms) Completed 200 OK in 61ms (Views: 34.5ms | ActiveRecord: 1.7ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.6ms) Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.7ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.2ms) Completed 200 OK in 26ms (Views: 13.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (14.2ms) Completed 200 OK in 31ms (Views: 14.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.3ms) Completed 200 OK in 21ms (Views: 21.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.2ms) Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$SbxktSWJ8wf8zY9GHTxktOXvHQtDSSHH2kHrQcXnCRwP2tzHAjxyG"], ["updated_at", "2016-06-20 02:22:14.927489"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.6ms) Completed 200 OK in 22ms (Views: 15.5ms | ActiveRecord: 0.4ms)  (1.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:14 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.0ms) Completed 200 OK in 28ms (Views: 13.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$kJUHgCkoEDZLXmw6WdIK.Oq7DhD62X.Ta9z/jTuvOOdDiaeNLASMy', 'root', '2016-06-20 02:22:49', '2016-06-20 02:22:49', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Cj1N60ShqLZCKT45lURsm.TcVT7sts8tumdAHeMB/SBRNZHZvLUi6', 'dave', '2016-06-20 02:22:49', '2016-06-20 02:22:49', 227792459)  (8.1ms) commit transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.3ms) Completed 200 OK in 445ms (Views: 436.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (12.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (29.4ms) Completed 200 OK in 70ms (Views: 35.6ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (49.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (76.5ms) Completed 200 OK in 144ms (Views: 140.3ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.2ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (29.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (32.4ms) Completed 200 OK in 47ms (Views: 45.1ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.2ms) Completed 200 OK in 11ms (Views: 2.7ms | ActiveRecord: 0.9ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (3.9ms) Completed 200 OK in 12ms (Views: 6.7ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (3.9ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.7ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.4ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.4ms) Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (22.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (93.9ms) Completed 200 OK in 175ms (Views: 117.9ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:50 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (3.2ms) Completed 200 OK in 20ms (Views: 19.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (2.1ms) Completed 200 OK in 21ms (Views: 20.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.5ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 1.0ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (15.1ms) Completed 200 OK in 31ms (Views: 15.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.0ms) Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.1ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$kLAEVhg8qS.YYkvRaQQcyOQXMQLXgSfdLARQVOF9z0b0bWOvzXuru"], ["updated_at", "2016-06-20 02:22:51.144237"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (2.0ms) Completed 200 OK in 23ms (Views: 17.0ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.4ms) Completed 200 OK in 30ms (Views: 15.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (15.0ms) Completed 200 OK in 28ms (Views: 15.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.7ms) Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.2ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:22:51 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.7ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$gzFsldu/Oxo4QfCGcBCdret7xXBVirJIlNNbWrIYsu6wwBUSDzRE.', 'root', '2016-06-20 02:27:11', '2016-06-20 02:27:11', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$okRKlPctiDSVx4Sgk7tHduzc0y9DF6pkO93Vv5xBOr2OsR080kUpC', 'dave', '2016-06-20 02:27:11', '2016-06-20 02:27:11', 227792459)  (1.0ms) commit transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.2ms) Completed 200 OK in 433ms (Views: 419.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (18.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (32.2ms) Completed 200 OK in 51ms (Views: 50.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (23.4ms) Completed 200 OK in 63ms (Views: 41.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.1ms) Completed 200 OK in 17ms (Views: 17.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.7ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (17.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (31.7ms) Completed 200 OK in 50ms (Views: 32.2ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.1ms) Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:11 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (13.2ms) Completed 200 OK in 28ms (Views: 13.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.1ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.0ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$vnaWPW6SvOwW7NoQkt1p0ucZ83yQHWWoF0S8iOdbTop./nOvBuSQ6"], ["updated_at", "2016-06-20 02:27:12.052731"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (2.4ms) Completed 200 OK in 23ms (Views: 15.7ms | ActiveRecord: 0.5ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.5ms) Completed 200 OK in 28ms (Views: 14.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (15.1ms) Completed 200 OK in 31ms (Views: 15.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:12 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.5ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (9.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$6gkf4CJgmwsALaEnKETKU.sZZvrG6Q5PeAiNk5RxoUHOHwWI8fWK6', 'root', '2016-06-20 02:27:39', '2016-06-20 02:27:39', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$onEzjUfNQExkMh.nLcVelOS2FNK1P4S3uhRK8Lo1TuZ.JMJs3sVDq', 'dave', '2016-06-20 02:27:39', '2016-06-20 02:27:39', 227792459)  (2.4ms) commit transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (1.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (7.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (10.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (24.3ms) Completed 200 OK in 451ms (Views: 440.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (24.8ms) Completed 200 OK in 60ms (Views: 30.9ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (29.1ms) Completed 200 OK in 52ms (Views: 48.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (22.6ms) Completed 200 OK in 47ms (Views: 23.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (2.8ms) Completed 200 OK in 27ms (Views: 25.6ms | ActiveRecord: 0.6ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.2ms) Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$dHP8vGh.tzONh2m6L6sk2.Q02d7qhBim0aoK5Ds1bRADWGkACMjE6"], ["updated_at", "2016-06-20 02:27:40.520535"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (2.0ms) Completed 200 OK in 28ms (Views: 19.0ms | ActiveRecord: 0.6ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.6ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (25.6ms) Completed 200 OK in 54ms (Views: 39.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.9ms) Completed 200 OK in 29ms (Views: 15.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.9ms) Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.7ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.9ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.5ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (14.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (16.3ms) Completed 200 OK in 32ms (Views: 16.8ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.3ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:27:40 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.6ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) begin transaction Fixture Delete (1.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$beAIJ5Wr9Msamzj6gl4.EurJHHtn60HZY.wBGgrI6DauhDrE3QKua', 'root', '2016-06-20 02:28:16', '2016-06-20 02:28:16', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$TpXMbhKZvNYvQJGNQ1ylL.nUrV7rd9RKq3ph7YDvmlnGfiSFhAmIO', 'dave', '2016-06-20 02:28:16', '2016-06-20 02:28:16', 227792459)  (2.1ms) commit transaction  (0.2ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms) Completed 200 OK in 415ms (Views: 405.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (16.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (30.2ms) Completed 200 OK in 70ms (Views: 37.2ms | ActiveRecord: 0.5ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (24.9ms) Completed 200 OK in 49ms (Views: 45.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.3ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.6ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.3ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.8ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.8ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (14.0ms) Completed 200 OK in 29ms (Views: 14.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.5ms) Completed 200 OK in 28ms (Views: 27.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.1ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$RCpMv29yRn6Ysoc0.7iw4evOYaB/wzCwPeBch7xCJAhOFsqcDxZpS"], ["updated_at", "2016-06-20 02:28:17.488278"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (2.4ms) Completed 200 OK in 22ms (Views: 14.6ms | ActiveRecord: 0.6ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (31.6ms) Completed 200 OK in 57ms (Views: 44.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (2.6ms) Completed 200 OK in 16ms (Views: 16.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (14.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (16.3ms) Completed 200 OK in 33ms (Views: 17.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.8ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.4ms) Completed 200 OK in 26ms (Views: 13.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:28:17 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$1c0qVAV7KgVOQ20BGuDaQ.gRKWn99CI3nlzpirSKWPPajT9n86SLK', 'root', '2016-06-20 02:37:29', '2016-06-20 02:37:29', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Sg8IgdLXiQP0mzdAIALp2OKL1bXIjENo/a3z1B.QxY2GsrNcJymZi', 'dave', '2016-06-20 02:37:29', '2016-06-20 02:37:29', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (8.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (19.9ms) Completed 200 OK in 523ms (Views: 512.7ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (13.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (29.0ms) Completed 200 OK in 65ms (Views: 41.8ms | ActiveRecord: 1.0ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:37:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (28.8ms) Completed 200 OK in 54ms (Views: 51.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (18.0ms) Completed 200 OK in 38ms (Views: 18.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:37:29 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.5ms) Completed 200 OK in 19ms (Views: 19.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.8ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$v0ooIL9k5hEsO.poEXg5sO44H0DhXlftNdJ8bsnKyNzZlT26hMEmi"], ["updated_at", "2016-06-20 02:37:30.048408"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (2.0ms) Completed 200 OK in 24ms (Views: 16.3ms | ActiveRecord: 0.5ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.1ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (28.4ms) Completed 200 OK in 57ms (Views: 43.0ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (15.5ms) Completed 200 OK in 33ms (Views: 15.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (3.2ms) Completed 200 OK in 17ms (Views: 16.8ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (2.2ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.5ms) Completed 200 OK in 30ms (Views: 12.9ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.5ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.8ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (3.6ms) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:37:30 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Niyf0jZZqE2hAbMAXRqVDerfMGLD6v.y8QEsO.dAAwglSMhW7YoUW', 'root', '2016-06-20 02:38:04', '2016-06-20 02:38:04', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$4kkElv8RShak9J3wnY4VCuAQCDgD2DprC53WZrF5EqU3qwhPD77x2', 'dave', '2016-06-20 02:38:04', '2016-06-20 02:38:04', 227792459)  (0.6ms) commit transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (8.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (10.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (18.5ms) Completed 200 OK in 527ms (Views: 518.4ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (32.7ms) Completed 200 OK in 75ms (Views: 38.7ms | ActiveRecord: 0.8ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (26.4ms) Completed 200 OK in 52ms (Views: 49.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (15.2ms) Completed 200 OK in 34ms (Views: 15.6ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (2.6ms) Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.2ms) Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$ZH6ZuxCLRqAXZIF2tw/8NOKOHQ.BAHA5xKSuWB0nrn81fKAK33qDu"], ["updated_at", "2016-06-20 02:38:04.881449"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (3.1ms) Completed 200 OK in 29ms (Views: 21.1ms | ActiveRecord: 0.5ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (28.2ms) Completed 200 OK in 56ms (Views: 41.0ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.1ms) Completed 200 OK in 27ms (Views: 13.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.6ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.5ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (16.0ms) Completed 200 OK in 30ms (Views: 16.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.4ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.5ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.1ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (3.4ms) Completed 200 OK in 17ms (Views: 16.8ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.2ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.4ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:05 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$.IGne1PcbVyGW6d1i077FOSfyPOmDAV7I.h96EpxgMhNAzwH6lO7S', 'root', '2016-06-20 02:38:41', '2016-06-20 02:38:41', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$sDIUFgOUYdcqPe2azoIKt.QOhCgxlPUFMkMhR3s0KlWfIiyif6qQy', 'dave', '2016-06-20 02:38:41', '2016-06-20 02:38:41', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.1ms) Completed 200 OK in 413ms (Views: 402.6ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (53.7ms) Completed 200 OK in 96ms (Views: 73.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (22.3ms) Completed 200 OK in 39ms (Views: 22.9ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.5ms) Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.9ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.7ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (16.6ms) Completed 200 OK in 32ms (Views: 17.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.1ms) Completed 200 OK in 18ms (Views: 18.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.4ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.5ms) Completed 200 OK in 25ms (Views: 12.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.2ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (20.8ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (22.3ms) Completed 200 OK in 37ms (Views: 22.7ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.4ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (3.0ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (3.1ms) Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.3ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (2.0ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:38:42 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$FguE32Kl/Zsq9z8941l1AeLDLhtSTWWh7lkoBNmdqOx3t.2.dONYO', 'root', '2016-06-20 02:42:08', '2016-06-20 02:42:08', 135138680) Fixture Insert (0.0ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Sn4rRtA2QDpe0lkwhyxkTeGoXBE9Ssnlig8QcziqZJa5HwFkTa0M6', 'dave', '2016-06-20 02:42:08', '2016-06-20 02:42:08', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.5ms) Completed 200 OK in 315ms (Views: 302.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:08 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (51.9ms) Completed 200 OK in 84ms (Views: 69.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.8ms) Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (24.4ms) Completed 200 OK in 41ms (Views: 24.8ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.6ms) Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.3ms) Completed 200 OK in 24ms (Views: 12.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (11.6ms) Completed 200 OK in 24ms (Views: 11.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (15.0ms) Completed 200 OK in 29ms (Views: 15.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.1ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:42:09 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (0.9ms) Completed 200 OK in 12ms (Views: 12.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$62v3rv/8j6o3scaWTgbpnuSAtW./rtqb8KKDp/A4N2A0yZMAG0UWC', 'root', '2016-06-20 02:42:52', '2016-06-20 02:42:52', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$8E1ycgJNlLFi3HqUXdX8i.MEk5PeeKgd4bI/5vHU24lFKTWaQFuIK', 'dave', '2016-06-20 02:42:52', '2016-06-20 02:42:52', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 315ms (Views: 303.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (21.6ms) Completed 200 OK in 49ms (Views: 27.0ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (22.1ms) Completed 200 OK in 42ms (Views: 39.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (23.0ms) Completed 200 OK in 46ms (Views: 33.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.8ms) Completed 200 OK in 28ms (Views: 15.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.9ms) Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.0ms) Completed 200 OK in 27ms (Views: 14.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.4ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.4ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (14.2ms) Completed 200 OK in 28ms (Views: 14.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.3ms) Completed 200 OK in 16ms (Views: 15.9ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.0ms) Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$Yzmp7M3iw6eI7/e5rbYbH.G9pfraYLnGftKyAQ7xLPN9x.aPQs8xK"], ["updated_at", "2016-06-20 02:42:53.553556"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.7ms) Completed 200 OK in 19ms (Views: 13.5ms | ActiveRecord: 0.4ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:42:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$sjTZ7lqEcRPFCQngTjZQvuEjbwMZZ7YjxjZXcpPVWaWe2s8vQf7Oq', 'root', '2016-06-20 02:43:03', '2016-06-20 02:43:03', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$WQ8MiK.YohdiCw7/Yv3EwuQ.gLKd14qZDM4QxLh/uFFVaoAUGJ3qi', 'dave', '2016-06-20 02:43:03', '2016-06-20 02:43:03', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.3ms) Completed 200 OK in 327ms (Views: 315.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (20.5ms) Completed 200 OK in 47ms (Views: 25.9ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (22.3ms) Completed 200 OK in 40ms (Views: 37.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (26.3ms) Completed 200 OK in 49ms (Views: 36.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.7ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.6ms) Completed 200 OK in 28ms (Views: 13.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (5.2ms) Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (3.5ms) Completed 200 OK in 13ms (Views: 5.1ms | ActiveRecord: 1.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (14.4ms) Completed 200 OK in 28ms (Views: 14.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.0ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.1ms) Completed 200 OK in 12ms (Views: 12.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$pesCwgry77Hq4xiEonUGSedHgrdWWgGtB60KEiHGIfYqO4drAf7Im"], ["updated_at", "2016-06-20 02:43:03.855508"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.1ms) Completed 200 OK in 18ms (Views: 12.8ms | ActiveRecord: 0.3ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (9.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (11.1ms) Completed 200 OK in 24ms (Views: 11.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.0ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.1ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:03 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$T1u6e78IUcHQA/USVGMsmOck4BwDud8rSZXc5fS4Rdz0zOB5TT1BO', 'root', '2016-06-20 02:43:19', '2016-06-20 02:43:19', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$mD6R5n97MleV.A.J.wpzxOZms5VfjJshthKC0NJPtI2JKHiggSqEu', 'dave', '2016-06-20 02:43:19', '2016-06-20 02:43:19', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.3ms) Completed 200 OK in 312ms (Views: 301.0ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (21.5ms) Completed 200 OK in 49ms (Views: 27.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (22.2ms) Completed 200 OK in 40ms (Views: 37.7ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (22.8ms) Completed 200 OK in 46ms (Views: 33.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.3ms) Completed 200 OK in 27ms (Views: 13.8ms | ActiveRecord: 0.5ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.7ms) Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (1.9ms) Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.2ms) Completed 200 OK in 25ms (Views: 12.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (13.6ms) Completed 200 OK in 28ms (Views: 14.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.0ms) Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (0.9ms) Completed 200 OK in 12ms (Views: 12.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$vYZMSxctgOVnZQJkhT2k2OioBkzOJoGHnUc2R7KPusG6sdzfsMzKi"], ["updated_at", "2016-06-20 02:43:20.375980"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.2ms) Completed 200 OK in 21ms (Views: 15.2ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:43:20 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$MIUBnjhULi7zNtWgTDcrOOg8A97eZXPcQ1JKXzhR0xIEztoCIkM1K', 'root', '2016-06-20 02:44:24', '2016-06-20 02:44:24', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$qTkFMyZ9bnJu8HHtaKXC0eN4Ise5IHa6Yek34nbBR6yy4uDLzlg2y', 'dave', '2016-06-20 02:44:24', '2016-06-20 02:44:24', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.0ms) Completed 200 OK in 329ms (Views: 317.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (12.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (23.9ms) Completed 200 OK in 51ms (Views: 29.6ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (24.8ms) Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (24.0ms) Completed 200 OK in 49ms (Views: 35.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.0ms) Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (14.0ms) Completed 200 OK in 30ms (Views: 14.9ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.0ms) Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.1ms) Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$KsTZCqwePlP/MWUV3TShrOvWJZUWs/YCtkGt3.uryfoULmELArxyy"], ["updated_at", "2016-06-20 02:44:25.594712"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (2.0ms) Completed 200 OK in 20ms (Views: 14.0ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (11.6ms) Completed 200 OK in 24ms (Views: 12.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (1.7ms) Completed 200 OK in 12ms (Views: 12.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (11.3ms) Completed 200 OK in 23ms (Views: 11.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 19:44:25 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$kRuJiuIj0Ug8qGoDX/mpFusLNiq.4o1eJKBczYykiodYYZ0zYGnbu', 'root', '2016-06-20 03:40:45', '2016-06-20 03:40:45', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ACp8PUuWgWcaIF9XT.xGrO07hYuzQ87ViR2MNXVRwRWS7hobca1Xy', 'dave', '2016-06-20 03:40:45', '2016-06-20 03:40:45', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.6ms) Completed 200 OK in 317ms (Views: 309.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (48.2ms) Completed 200 OK in 81ms (Views: 64.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (21.4ms) Completed 200 OK in 38ms (Views: 21.8ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.5ms) Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (2.6ms) Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.8ms) Completed 200 OK in 26ms (Views: 14.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (13.4ms) Completed 200 OK in 27ms (Views: 13.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.0ms) Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.4ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$U/21qZWN5/X/s7mEptpTCe2ZP7O408uenmJbiZET7XpLA6c2gjjzC"], ["updated_at", "2016-06-20 03:40:46.543415"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.2ms) Completed 200 OK in 22ms (Views: 14.9ms | ActiveRecord: 0.6ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.4ms) Completed 200 OK in 26ms (Views: 12.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.8ms) Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.9ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:40:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$oIuSTbabsjTUav.MHhtrHuhaoCV4eevlXrtN0UbNBn/lStjVKtA/q', 'root', '2016-06-20 03:43:17', '2016-06-20 03:43:17', 956626692) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$5iZltVSFXe2TTDnk2A3RX.FhM8fWJkLQE/G4.SMVU59ajVRzMh7M2', 'dave', '2016-06-20 03:43:17', '2016-06-20 03:43:17', 703024618)  (1.5ms) commit transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 323ms (Views: 315.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.5ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (46.7ms) Completed 200 OK in 82ms (Views: 68.4ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (2.1ms) Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.7ms) Completed 200 OK in 29ms (Views: 15.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.8ms) Completed 200 OK in 26ms (Views: 13.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.9ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$n8kq8PXCgBWAaM3Kr0NQTe/F9V7GkCmv0ndeHAnG2qYG7OrJJea.a', 'root', '2016-06-20 03:43:28', '2016-06-20 03:43:28', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$XnOEOKVPdfMCd5nUsu1NaO6pIbD8UgS.H48.R1zZ437KYkXw9.9tK', 'dave', '2016-06-20 03:43:28', '2016-06-20 03:43:28', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:28 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.7ms) Completed 200 OK in 324ms (Views: 312.0ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:28 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (4.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (12.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (23.6ms) Completed 200 OK in 50ms (Views: 29.2ms | ActiveRecord: 4.9ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:43:28 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (22.1ms) Completed 200 OK in 42ms (Views: 39.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:28 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (23.3ms) Completed 200 OK in 47ms (Views: 34.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.1ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.6ms) Completed 200 OK in 31ms (Views: 15.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (13.1ms) Completed 200 OK in 27ms (Views: 13.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.1ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (0.9ms) Completed 200 OK in 12ms (Views: 12.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$2latRl/sYwJ7RK5ZgMS4v.EfDDnHGMeV4IsaX7cXK9DCLVCryvS7O"], ["updated_at", "2016-06-20 03:43:29.183160"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.7ms) Completed 200 OK in 19ms (Views: 13.6ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (9.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (10.9ms) Completed 200 OK in 25ms (Views: 11.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.7ms) Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (2.0ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:43:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "users"  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$XEPYcrQFHfKIcks1VIlPhu91NgqMxpGSuxRphfcThJgtxB.gXy8ZC', 'root', '2016-06-20 03:46:01', '2016-06-20 03:46:01', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$4h6aKlH9v0PdS2NEKIfx9O7pQX.N6/y0NOlej4jmC/7l4YwLcIeeO', 'dave', '2016-06-20 03:46:01', '2016-06-20 03:46:01', 227792459)  (1.4ms) commit transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.1ms) Completed 200 OK in 310ms (Views: 302.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (44.5ms) Completed 200 OK in 77ms (Views: 60.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (22.4ms) Completed 200 OK in 41ms (Views: 22.7ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.5ms) Completed 200 OK in 19ms (Views: 16.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (12.5ms) Completed 200 OK in 27ms (Views: 13.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.0ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (0.9ms) Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$0Ki2s5LuElscfG4IgVVC4OVUhm16y6O8V033a93aQruGdgHaNXwXq"], ["updated_at", "2016-06-20 03:46:02.372020"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.2ms) Completed 200 OK in 19ms (Views: 13.8ms | ActiveRecord: 0.4ms)  (1.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.6ms) Completed 200 OK in 26ms (Views: 13.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (1.9ms) Completed 200 OK in 13ms (Views: 13.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (9.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (11.1ms) Completed 200 OK in 24ms (Views: 11.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (2.4ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:46:02 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.2ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$jv/hRqmjCXEeNWhMvwCleO8xZg8gnBFeqfosO1Tt6OzNWbzYU0Zke', 'root', '2016-06-20 03:47:03', '2016-06-20 03:47:03', 135138680) Fixture Insert (0.0ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$LbwiFI9n1G4QNJ.6EQEUW.hWTMQym977ptH2l6bzbRdLT8c0A9rpG', 'dave', '2016-06-20 03:47:03', '2016-06-20 03:47:03', 227792459)  (1.6ms) commit transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 311ms (Views: 303.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.8ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (45.9ms) Completed 200 OK in 79ms (Views: 62.7ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.0ms) Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (2.0ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (23.7ms) Completed 200 OK in 40ms (Views: 24.1ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.9ms) Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (12.6ms) Completed 200 OK in 27ms (Views: 13.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.0ms) Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.0ms) Completed 200 OK in 12ms (Views: 12.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$4bEzsteD/q0KvwlI614vfu3RAljcJ3/G/HBLHeiXUU7n.qwiBc1k2"], ["updated_at", "2016-06-20 03:47:04.638303"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.4ms) Completed 200 OK in 21ms (Views: 15.4ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (14.3ms) Completed 200 OK in 27ms (Views: 14.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.3ms) Completed 200 OK in 25ms (Views: 12.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 20:47:04 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$x3unaRaJKR5mSkFZT1XPu.GavMqZEI1DGmhZIsYr.Jork.O7SBCS6', 'root', '2016-06-20 05:36:29', '2016-06-20 05:36:29', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$gNPG4wmkqsmg.Wt4T2Bv6.mdBRnB/.m9UP/XVbXEY3qihpa5CzfO6', 'dave', '2016-06-20 05:36:29', '2016-06-20 05:36:29', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.1ms) Completed 200 OK in 387ms (Views: 377.9ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (13.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (26.2ms) Completed 200 OK in 59ms (Views: 32.4ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (25.7ms) Completed 200 OK in 46ms (Views: 43.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (25.1ms) Completed 200 OK in 52ms (Views: 36.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.1ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 1.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/no_command.js.erb (4.5ms) Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (11.9ms) Completed 200 OK in 27ms (Views: 12.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.4ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.9ms) Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-19 22:36:30 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (14.2ms) Completed 200 OK in 29ms (Views: 14.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-19 22:36:30 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.0ms) Completed 200 OK in 18ms (Views: 18.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-19 22:36:30 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.0ms) Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-19 22:36:30 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$k30c05EdboEhHn3ACgsoDuyK55m5dXKnOYb10ogzLpRtqb0/OivyG"], ["updated_at", "2016-06-20 05:36:30.091070"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.1ms) Completed 200 OK in 22ms (Views: 15.3ms | ActiveRecord: 0.5ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-19 22:36:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-19 22:36:30 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.5ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.7ms) Completed 200 OK in 26ms (Views: 13.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Ip1PsgSJK/GLVEKonF26vuycj5F.iZb5.1TKoX4793gY97lW/usJW', 'root', '2016-06-24 04:02:18', '2016-06-24 04:02:18', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$6krB/J0YvMFHv914OGfrQu0a/caWqe0ehLNZEDeslyc1tlpYVT4o.', 'dave', '2016-06-24 04:02:18', '2016-06-24 04:02:18', 227792459)  (2.0ms) commit transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.8ms) Completed 200 OK in 420ms (Views: 411.5ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (27.5ms) Completed 200 OK in 53ms (Views: 34.2ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:18 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (28.9ms) Completed 200 OK in 50ms (Views: 47.0ms | ActiveRecord: 0.3ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:18 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (14.8ms) Completed 200 OK in 32ms (Views: 15.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-23 21:02:18 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.6ms) Completed 200 OK in 18ms (Views: 18.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (2.7ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$TMOTb1hNuRBJOSY3c7Hn3OZEr6BlxzsMGF/Tj1SsbG0Q8tm1/z5XS"], ["updated_at", "2016-06-24 04:02:19.029600"], ["id", 227792459]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.4ms) Completed 200 OK in 24ms (Views: 15.1ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (27.0ms) Completed 200 OK in 53ms (Views: 40.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.0ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.6ms) Completed 200 OK in 28ms (Views: 13.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.9ms) Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (10.9ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.6ms) Completed 200 OK in 27ms (Views: 13.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:19 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$qFHIk9hGls3bMlbcHN/NNOZXcXS.N1GANFAJTorPJymVA7vJ8kFim', 'root', '2016-06-24 04:02:32', '2016-06-24 04:02:32', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$3T4YiUPsELwDLzFa87gHkOqfb.2aa3dY.7DoWHDGHm6yi.UC.bufe', 'dave', '2016-06-24 04:02:32', '2016-06-24 04:02:32', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.0ms) Completed 200 OK in 351ms (Views: 342.8ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (18.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (31.6ms) Completed 200 OK in 57ms (Views: 38.0ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (25.1ms) Completed 200 OK in 45ms (Views: 42.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.4ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.6ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (25.6ms) Completed 200 OK in 52ms (Views: 37.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (1.9ms) Completed 200 OK in 13ms (Views: 13.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} Redirected to http://www.example.com/satellites/no_command/run LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (12.2ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.6ms) Completed 200 OK in 27ms (Views: 14.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (13.5ms) Completed 200 OK in 33ms (Views: 13.9ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.1ms) Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.1ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$VlY7zH2t76oiX2h3/7ExquQ/hMmAfefUVPNpbuQTNFJYz/K6Fngpe"], ["updated_at", "2016-06-24 04:02:33.511595"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.1ms) Completed 200 OK in 19ms (Views: 13.2ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (12.6ms) Completed 200 OK in 27ms (Views: 13.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:33 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$IA71fKTCYoof6yZZTkiIHuOKVOWjV4ws/o8tROLarp0RqiSezIwKe', 'root', '2016-06-24 04:02:52', '2016-06-24 04:02:52', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$rErGghoKVYYUwCZSyAywx.OtC3SIG/VrP1TgD.v0hpNzOc7pjT63.', 'dave', '2016-06-24 04:02:52', '2016-06-24 04:02:52', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.7ms) Completed 200 OK in 347ms (Views: 339.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (17.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (30.6ms) Completed 200 OK in 56ms (Views: 37.2ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (25.7ms) Completed 200 OK in 46ms (Views: 43.5ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (13.3ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (26.8ms) Completed 200 OK in 53ms (Views: 39.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"quit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.7ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.8ms) Completed 200 OK in 30ms (Views: 14.7ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"clear"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/clear.js.erb (2.6ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>""} Redirected to http://www.example.com/satellites/no_command/run LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (1.1ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su root"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "root"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/135138680" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"135138680"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/request_current_password.js.erb (15.7ms) Completed 200 OK in 32ms (Views: 16.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/new" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::PasswdController#new as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new.js.erb (1.2ms) Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459/confirm" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::PasswdController#confirm as JS Parameters: {"id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm.js.erb (1.1ms) Completed 200 OK in 13ms (Views: 13.3ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/passwd/227792459" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::PasswdController#update as JS Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$qiPypteDI9PyTCAlpYnbfuMnFTN99TjAUm5Twv3uIejdikc8Sgy2."], ["updated_at", "2016-06-24 04:02:53.777160"], ["id", 227792459]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/update.js.erb (1.7ms) Completed 200 OK in 23ms (Views: 15.4ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (11.4ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (13.1ms) Completed 200 OK in 29ms (Views: 13.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"su dave"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."username" = ? LIMIT 1 [["username", "dave"]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/request_password.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/update.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 21:02:53 -0700 Processing by LunarShell::InterpreterController#create as JS Parameters: {"command_line"=>"exit"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/_output.html.erb (0.1ms) CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/interpreter/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$FM9etahVEY/AshE1PxiI9.Ak4AkOucjB02IGsYrnvc06ttbGjJORO', 'root', '2016-06-24 05:42:13', '2016-06-24 05:42:13', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$RBOqWZs8R9lKvChOAodkge7OM0P2dAMl16hYigA23MNLRagIhhSaq', 'dave', '2016-06-24 05:42:13', '2016-06-24 05:42:13', 227792459)  (2.0ms) commit transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 329ms (Views: 322.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (36.3ms) Completed 200 OK in 72ms (Views: 72.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.8ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.6ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700  (0.1ms) rollback transaction  (1.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.7ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"command"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.6ms) Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.4ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/interpreter" for 127.0.0.1 at 2016-06-23 22:42:14 -0700  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$pc2fddHxJ.7kD7gr0ptAgOxwlShHYTs9Cbb7QHoIKXPPMydhB5ktK', 'root', '2016-06-24 05:42:46', '2016-06-24 05:42:46', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$C0RR2kdD0PdqrpKiNhw/p.BZCZ7N4BPZ5ycAdYww6GTWwi5iBl.dW', 'dave', '2016-06-24 05:42:46', '2016-06-24 05:42:46', 227792459)  (1.4ms) commit transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 323ms (Views: 315.7ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"command"=>"exit", "error"=>"exit/run"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (1.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (41.3ms) Completed 200 OK in 57ms (Views: 56.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.1ms) Completed 200 OK in 31ms (Views: 30.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"command"=>"exit", "error"=>"exit/run"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (1.6ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"error"=>"run"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.7ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.7ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.7ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"command"=>"quit", "error"=>"quit/run"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (1.6ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.4ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.3ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.3ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:42:46 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$6u3rWPIMoYi2vdp/tazKteWS2nZDi1hQRgEgBeIrWSi6EWWR0p1du', 'root', '2016-06-24 05:43:23', '2016-06-24 05:43:23', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$7yuru.0GP6GMnrAkPRbMAe.Nke2G2cY0GDRTIo33Lcp23VDiPk.gq', 'dave', '2016-06-24 05:43:23', '2016-06-24 05:43:23', 227792459)  (1.3ms) commit transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 315ms (Views: 307.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (7.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (18.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (29.2ms) Completed 200 OK in 63ms (Views: 62.7ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"command"=>"passwd"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.8ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.5ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.3ms) Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (1.4ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::Satellites::SuController#update as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"227792459"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:23 -0700  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$UQmTyFI.D.AONtl324UKXeRIlDeVHFIAo7oF9MCfpleUlQT.rZ6Uy', 'root', '2016-06-24 05:43:42', '2016-06-24 05:43:42', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$TWu1IlP5QdHjrwSKXN1ABeyAYjSZH8IUC2Qse4iuUnZvcxtCCLj46', 'dave', '2016-06-24 05:43:42', '2016-06-24 05:43:42', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 315ms (Views: 308.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:43 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"error"=>"run"} LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (24.5ms) Completed 200 OK in 48ms (Views: 47.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ftdIT1NozHc/w.eS5Qf8zeCTiZXd2mE2B0e3h5T7a1bLoJIr8jk/2', 'root', '2016-06-24 05:43:57', '2016-06-24 05:43:57', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$vbBSYUpYP8/Epaetp1QHF.q54ZeleFYuwwLlTrC.KYQn/CdmZDAhO', 'dave', '2016-06-24 05:43:57', '2016-06-24 05:43:57', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 22:43:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.7ms) Completed 200 OK in 317ms (Views: 309.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:43:58 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"command"=>"exit", "error"=>"exit/run"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.7ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (43.9ms) Completed 200 OK in 61ms (Views: 60.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$B/fU5id/TPWU1NKkyRbTN.SuP98uNlVwRcjvE.wo.tNElUd7Agmpy', 'root', '2016-06-24 05:44:31', '2016-06-24 05:44:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$3pGPP30Y7P5se45niFjhMOjlUpRnDFl.TIMweFNd6XJpE5TV77lG2', 'dave', '2016-06-24 05:44:31', '2016-06-24 05:44:31', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-23 22:44:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.5ms) Completed 200 OK in 317ms (Views: 309.8ms | ActiveRecord: 0.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-23 22:44:31 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"command"=>"exit", "error"=>"exit/run"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (1.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" IS NULL LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (39.1ms) Completed 200 OK in 55ms (Views: 55.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.7ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616015436)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "lunar_shell_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(32) NOT NULL, "password_digest" varchar NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160616015436"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lunar_shell_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lunar_shell_users_on_username' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) CREATE TABLE "lunar_shell_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(32) NOT NULL, "password_digest" varchar NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160616015436') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3de7ZFWUcMGhtryDW23DIuVcRKp1ztKdWjP1A0FyMFwZDasL.MoEC', 'root', '2016-06-24 08:45:44', '2016-06-24 08:45:44', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$InsjXSz5LkRxeOSB2gksVezD4N2z5Q3h6fRT9ZEbylTcsStVm2FkS', 'dave', '2016-06-24 08:45:44', '2016-06-24 08:45:44', 227792459)  (0.7ms) commit transaction  (0.0ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.8ms) Completed 200 OK in 325ms (Views: 316.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"error"=>"run"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (26.7ms) Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"command"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.8ms) Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (10.1ms) Completed 200 OK in 22ms (Views: 22.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.3ms) Completed 200 OK in 34ms (Views: 33.9ms | ActiveRecord: 0.0ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-24 01:45:45 -0700  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.9ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (2.1ms) Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.2ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-24 01:45:45 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-24 01:45:45 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"command"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.5ms) Completed 200 OK in 18ms (Views: 18.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-24 01:45:45 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started PATCH "/satellites/su/227792459" for 127.0.0.1 at 2016-06-24 01:45:45 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:45:45 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"command"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$dok3IARf9vTZEN7ZwMkyCeILbjQ2LKajaToqhoAiy.teKePgZIfDy', 'root', '2016-06-24 08:46:56', '2016-06-24 08:46:56', 135138680) Fixture Insert (0.0ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$YHB81dxKJppR0.yGIOvc8.UxGyPHbQI6ioc0pxcbbmykfguOf713u', 'dave', '2016-06-24 08:46:56', '2016-06-24 08:46:56', 227792459)  (2.6ms) commit transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 01:46:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.7ms) Completed 200 OK in 303ms (Views: 295.9ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:46:57 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"command"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (26.1ms) Completed 200 OK in 46ms (Views: 44.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:46:57 -0700  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$JFOJ3ivFjfSen3JAoKv3EuUgcEwbflAo3wegJ/ptOTQht60aTUH8m', 'root', '2016-06-24 08:48:21', '2016-06-24 08:48:21', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$QM5Nx.kjFSgzYkEbcMithOa3U52pDferadBIxXxvpM9ocyg4UXmjK', 'dave', '2016-06-24 08:48:21', '2016-06-24 08:48:21', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:48:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.0ms) Completed 200 OK in 309ms (Views: 301.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:48:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.1ms) Completed 200 OK in 36ms (Views: 36.0ms | ActiveRecord: 0.0ms) Started PATCH "/satellites/su" for 127.0.0.1 at 2016-06-24 01:48:22 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:48:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:48:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started PATCH "/satellites/su" for 127.0.0.1 at 2016-06-24 01:48:22 -0700  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$K0who9Rhd3Y.lj6PAe439evqARctzRq21G2R01qP9mEpr9fZDBFuy', 'root', '2016-06-24 08:49:49', '2016-06-24 08:49:49', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$n3gP/Qv3.sa0zHaiwd4N8eh2nerbBk8c644p/kRgGmbn1VGwurFlO', 'dave', '2016-06-24 08:49:49', '2016-06-24 08:49:49', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:49:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.3ms) Completed 200 OK in 309ms (Views: 300.0ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:49:50 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.0ms) Completed 200 OK in 36ms (Views: 35.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:49:50 -0700  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:49:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:49:50 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:49:50 -0700  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ELbJjJuJOoNGGvG4b0IcXe52NYEfjmNeFLmP9mJ6jkbQfbA3C.y3.', 'root', '2016-06-24 08:51:09', '2016-06-24 08:51:09', 135138680) Fixture Insert (0.0ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$KVya38vRt6YBZdcNrcOoV.bqFIZD8EgcPgs3AffRYOuHJHHKwPdJW', 'dave', '2016-06-24 08:51:09', '2016-06-24 08:51:09', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:51:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.7ms) Completed 200 OK in 318ms (Views: 310.7ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:51:09 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.4ms) Completed 200 OK in 36ms (Views: 36.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 01:51:09 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.7ms) Completed 200 OK in 42ms (Views: 40.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:51:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:51:09 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 01:51:09 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$WGtwOOn8vuAfqeFa6X3WWup9woOPNn76656XrwOoIOdJdVwyozWmi', 'root', '2016-06-24 08:51:29', '2016-06-24 08:51:29', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$/hP86gmraiXnrfufvxwHKuzJajdtEu.Zz2qYzWXnWuqAmJsWJ4mq2', 'dave', '2016-06-24 08:51:29', '2016-06-24 08:51:29', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:51:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.2ms) Completed 200 OK in 312ms (Views: 302.4ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:51:29 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.2ms) Completed 200 OK in 38ms (Views: 37.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 01:51:29 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.1ms) Completed 200 OK in 45ms (Views: 42.4ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:51:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$mm5gkAXZquxCfmmpB9gP1.51gAxLyw/frx1nFl.lxcxi2ayuHGTnW', 'root', '2016-06-24 08:52:26', '2016-06-24 08:52:26', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$xWC.8TQhYroox5qOHHa4u.PCFik0JLKluozudrkvVIUPrjfVwCcwa', 'dave', '2016-06-24 08:52:26', '2016-06-24 08:52:26', 227792459)  (2.4ms) commit transaction  (0.0ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:52:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (8.8ms) Completed 200 OK in 311ms (Views: 303.8ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:52:26 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.9ms) Completed 200 OK in 36ms (Views: 35.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 01:52:26 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.1ms) Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 01:52:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 01:52:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 01:52:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.7ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$OHAmWUk5rUvb2D48/9NZp./Z8DNKl4IoFse/iVb3WrSkhB8A9d9Jq', 'root', '2016-06-25 00:26:34', '2016-06-25 00:26:34', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$jru0gbDrvSr3XG0NoNi51.ZmvLUHretQ.LUr/ybfE4wIdKV95mUWK', 'dave', '2016-06-25 00:26:34', '2016-06-25 00:26:34', 227792459)  (4.2ms) commit transaction  (0.3ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 17:26:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.0ms) Completed 200 OK in 493ms (Views: 482.5ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$9yP7vZV2a/qatgXI2ISp9.uNDuMvHA/QjqGaFV35Ug/UG.pP8cdzC', 'root', '2016-06-25 00:29:45', '2016-06-25 00:29:45', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Saz4PGi1OHaFmL7aDwnIL.TG97ILoMD3yS/rH/mqHza6VmijjfDve', 'dave', '2016-06-25 00:29:45', '2016-06-25 00:29:45', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 434ms (Views: 425.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"error"=>"run"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (32.3ms) Completed 200 OK in 56ms (Views: 55.6ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (24.1ms) Completed 200 OK in 41ms (Views: 41.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (6.7ms) Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (9.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.5ms) Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (2.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"command"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.7ms) Completed 200 OK in 24ms (Views: 23.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"command"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.2ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"command"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 23ms (Views: 22.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"command"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.8ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.3ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"command"=>"passwd"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (2.2ms) Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:29:46 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.9ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$C7t.6m88hMtKIs2pmDQ4Du92zYmyrFr77lxQJn/05SJNJ2jBbFiue', 'root', '2016-06-25 00:44:39', '2016-06-25 00:44:39', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$5bbr3/hxQEubvfYkJu0/SezT058N69EnE0M7p3Dj2kHTSRr0mxPR6', 'dave', '2016-06-25 00:44:39', '2016-06-25 00:44:39', 227792459)  (2.8ms) commit transaction  (0.1ms) begin transaction ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.7ms) Completed 200 OK in 390ms (Views: 376.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.5ms) Completed 200 OK in 39ms (Views: 38.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.7ms) Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"command"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"command"=>"quit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------- ExitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"command"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.1ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- ExitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"command"=>"exit"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.2ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:39 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:40 -0700  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- PasswdTest: test_changes_password --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"user"=>{"password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.9ms) Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------ PasswdTest: test_no_action_for_guest ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3QU0zf6gB5nlejYp6lXliOanJk3ATdQHeWF280uIooMvKM1tfIZsG', 'root', '2016-06-25 00:44:48', '2016-06-25 00:44:48', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$NsBxTM9QQIRhmhD3R0RdruE9VWH.cRqxfKJuULNFmrbqWe3NsASEu', 'dave', '2016-06-25 00:44:48', '2016-06-25 00:44:48', 227792459)  (2.0ms) commit transaction  (0.2ms) begin transaction ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 17:44:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.1ms) Completed 200 OK in 388ms (Views: 380.2ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 17:52:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (18.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (21.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (28.0ms) Completed 200 OK in 440ms (Views: 430.7ms | ActiveRecord: 0.6ms) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 17:53:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (16.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (18.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (25.1ms) Completed 200 OK in 404ms (Views: 395.2ms | ActiveRecord: 0.6ms) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 17:59:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (17.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (19.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (25.4ms) Completed 200 OK in 478ms (Views: 469.9ms | ActiveRecord: 0.5ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:00:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (1.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (26.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (29.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (48.4ms) Completed 200 OK in 572ms (Views: 553.5ms | ActiveRecord: 0.7ms) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:00:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (19.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (21.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (27.3ms) Completed 200 OK in 535ms (Views: 526.2ms | ActiveRecord: 0.5ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:00:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (18.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (20.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (27.2ms) Completed 200 OK in 420ms (Views: 411.6ms | ActiveRecord: 0.5ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:01:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (17.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (19.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (25.8ms) Completed 200 OK in 413ms (Views: 402.6ms | ActiveRecord: 0.5ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:03:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (36.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (38.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (45.3ms) Completed 200 OK in 553ms (Views: 543.6ms | ActiveRecord: 0.7ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:10:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (19.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (21.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (27.6ms) Completed 200 OK in 415ms (Views: 406.2ms | ActiveRecord: 0.6ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:11:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (21.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (25.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (32.0ms) Completed 200 OK in 453ms (Views: 444.1ms | ActiveRecord: 0.7ms) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:12:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (21.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (27.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (35.5ms) Completed 200 OK in 464ms (Views: 454.6ms | ActiveRecord: 0.6ms) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:12:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (18.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (20.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (26.4ms) Completed 200 OK in 423ms (Views: 414.1ms | ActiveRecord: 0.6ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:12:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (17.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (19.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (25.3ms) Completed 200 OK in 425ms (Views: 415.3ms | ActiveRecord: 0.9ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:13:28 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (13.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (24.2ms) Completed 200 OK in 395ms (Views: 385.9ms | ActiveRecord: 0.6ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:13:29 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:13:29 -0700 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:14:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (22.8ms) Completed 200 OK in 397ms (Views: 387.1ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:14:05 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:14:05 -0700 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:14:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (23.3ms) Completed 200 OK in 384ms (Views: 374.7ms | ActiveRecord: 0.6ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:14:37 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:14:37 -0700 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:15:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (7.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (13.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (30.7ms) Completed 200 OK in 515ms (Views: 504.6ms | ActiveRecord: 0.6ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:15:08 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:15:08 -0700 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:16:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (12.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (22.1ms) Completed 200 OK in 407ms (Views: 397.9ms | ActiveRecord: 0.7ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:16:40 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:16:40 -0700 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:17:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (21.7ms) Completed 200 OK in 389ms (Views: 380.3ms | ActiveRecord: 0.7ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:17:21 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:17:21 -0700 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:17:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (15.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (18.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (26.4ms) Completed 200 OK in 409ms (Views: 398.4ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:17:41 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:17:41 -0700 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:18:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (22.0ms) Completed 200 OK in 399ms (Views: 390.2ms | ActiveRecord: 0.7ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:18:03 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:18:03 -0700 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:18:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (22.4ms) Completed 200 OK in 389ms (Views: 379.5ms | ActiveRecord: 0.6ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:18:56 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:18:56 -0700 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:19:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (12.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (20.5ms) Completed 200 OK in 342ms (Views: 333.3ms | ActiveRecord: 0.7ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:19:45 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:19:45 -0700 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:21:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (9.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (17.7ms) Completed 200 OK in 334ms (Views: 325.8ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:21:04 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:21:04 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:21:04 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (26.8ms) Completed 200 OK in 53ms (Views: 52.2ms | ActiveRecord: 0.2ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:22:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (10.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (19.3ms) Completed 200 OK in 494ms (Views: 484.8ms | ActiveRecord: 0.6ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:22:08 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:22:08 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:22:08 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (25.2ms) Completed 200 OK in 43ms (Views: 42.4ms | ActiveRecord: 0.2ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:24:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (12.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (21.8ms) Completed 200 OK in 401ms (Views: 392.7ms | ActiveRecord: 0.7ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:24:18 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:24:18 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:24:18 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (31.3ms) Completed 200 OK in 51ms (Views: 50.8ms | ActiveRecord: 0.2ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2016-06-24 18:29:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (23.1ms) Completed 200 OK in 391ms (Views: 382.5ms | ActiveRecord: 0.6ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:29:48 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:29:48 -0700 Started GET "/" for 127.0.0.1 at 2016-06-24 18:29:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$fPo0qoLknA3JvUOuObkWzu4yJSlUe5OwbMX.htktSvihe7OvbNChC', 'root', '2016-06-25 01:36:20', '2016-06-25 01:36:20', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$dO/z2ycZ5pFNE9TNqTMw3u0/s.OutyEjZp4YMoFnVBUPItnZGu.hm', 'dave', '2016-06-25 01:36:20', '2016-06-25 01:36:20', 227792459)  (1.6ms) commit transaction  (0.2ms) begin transaction ----------------------------------------- PasswdTest: test_0001_no action for guest ----------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:36:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.6ms) Completed 200 OK in 336ms (Views: 328.2ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:36:21 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:36:21 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:36:21 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (25.9ms) Completed 200 OK in 48ms (Views: 46.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------- PasswdTest: test_0002_changes password -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:36:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$2WsJOFMmRrRTuhTmnwWsg.V0CGLUlnXp66GUgaa7HVawe4vZBo6KK', 'root', '2016-06-25 01:36:50', '2016-06-25 01:36:50', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$2HwG6pPwhxnruaraB2oWC.Ce1/YxGxP3LxgAEh7bi9HilBykz8dr.', 'dave', '2016-06-25 01:36:50', '2016-06-25 01:36:50', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction -------------------------------------- PasswdTest: test_0002_changes password -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:36:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 420ms (Views: 412.3ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:36:52 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:36:52 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:36:52 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.6ms) Completed 200 OK in 38ms (Views: 38.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- PasswdTest: test_0001_no action for guest ----------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:36:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$D6sXgDjcKvNYXRJ0eSXU8ee7dFh9A013LSC6EWQRaLH6ddaCL/jHS', 'root', '2016-06-25 01:37:12', '2016-06-25 01:37:12', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$nltjEdZui0qAsRLMK.cxQ.Hz5Nn3N2j7mNJFQcFX4Ubi/TIVNYaNq', 'dave', '2016-06-25 01:37:12', '2016-06-25 01:37:12', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ----------------------------------------- PasswdTest: test_0001_no action for guest ----------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:37:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.2ms) Completed 200 OK in 362ms (Views: 353.9ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:37:13 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:37:13 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:37:14 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (27.8ms) Completed 200 OK in 47ms (Views: 46.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------- PasswdTest: test_0002_changes password -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:37:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$B9WZ3/teNif9b48d2rIeJ.mP9IC2c3SzgYGKtUoURUErEBML041EO', 'root', '2016-06-25 01:38:23', '2016-06-25 01:38:23', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$hdAyxElA6uQxEdrUhjyUOuCQhpmCe3BnCnSJhjlAAaHcSW5V3DQ6S', 'dave', '2016-06-25 01:38:23', '2016-06-25 01:38:23', 227792459)  (3.2ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:38:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.3ms) Completed 200 OK in 336ms (Views: 328.4ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:38:24 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:38:24 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:38:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.4ms) Completed 200 OK in 36ms (Views: 35.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:38:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (1.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$4VgwODLZy2GCLIH.abTIWO.zL.dK.JwA0Q7Z91QSdk98tYULTUcfy', 'root', '2016-06-25 01:38:44', '2016-06-25 01:38:44', 135138680) Fixture Insert (1.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$0VquAWGDkDkeuX3LJn9DW.k.Br2VRSqY4od/FSBabRUTM/wm40Ga.', 'dave', '2016-06-25 01:38:44', '2016-06-25 01:38:44', 227792459)  (2.5ms) commit transaction  (0.1ms) begin transaction ----------------------------------- ClearTest: test_0001_clears history ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:38:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.6ms) Completed 200 OK in 383ms (Views: 374.4ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:38:45 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:38:45 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:38:46 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (28.1ms) Completed 200 OK in 49ms (Views: 48.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$D.xTJec5fkthx4HVYrzfAuCdNfYunfZ8rFcLITWHkeT6Rjbf9EgQa', 'root', '2016-06-25 01:38:57', '2016-06-25 01:38:57', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$FRpIL8M2qMlE6SgUdud6uu8Y41d.Ph5doh9E1Ua6uYS/noOfa25n.', 'dave', '2016-06-25 01:38:57', '2016-06-25 01:38:57', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:38:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.3ms) Completed 200 OK in 381ms (Views: 372.2ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:38:59 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:38:59 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:38:59 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (28.5ms) Completed 200 OK in 51ms (Views: 49.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:39:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$5KIJiKoJ4hg1QUskQeFqfuptwwTDYPH4WH0Xj2QQ6fgMg7kT92w32', 'root', '2016-06-25 01:39:21', '2016-06-25 01:39:21', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$EDUCF.F2IjAgGyE3eUShLes0cm9zV6lY37VYUt6QlTqyzcLXrRuDi', 'dave', '2016-06-25 01:39:21', '2016-06-25 01:39:21', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:39:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.0ms) Completed 200 OK in 380ms (Views: 371.8ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:39:23 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:39:23 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:39:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.3ms) Completed 200 OK in 44ms (Views: 43.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:39:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (4.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Ydvz.lzdpyxwe11/bvNwf.D4v94WsmUqRSm2h3FB.KSVHtD078p9O', 'root', '2016-06-25 01:39:49', '2016-06-25 01:39:49', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$V0fSQLiw/pzK2j3JQW9woen2TGSdPssQTK2BoD4nSQHYMHc9nKZzK', 'dave', '2016-06-25 01:39:49', '2016-06-25 01:39:49', 227792459)  (1.7ms) commit transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:39:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 387ms (Views: 376.9ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:39:51 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:39:51 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:39:51 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (29.5ms) Completed 200 OK in 53ms (Views: 51.6ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:39:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$dniDLFGva2i50AoMhY4lCe4Xq9WcALlKrhn/zYw28FhLwBAzSBxza', 'root', '2016-06-25 01:40:33', '2016-06-25 01:40:33', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$b9kdbO6c1iFEq0YN7dwaOORzH41RXGSmoQUPxcDWvygEwUQyH42tm', 'dave', '2016-06-25 01:40:33', '2016-06-25 01:40:33', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:40:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.2ms) Completed 200 OK in 386ms (Views: 377.0ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:40:34 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:40:34 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:40:35 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (28.4ms) Completed 200 OK in 50ms (Views: 48.7ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:40:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$1F8V.hudzJpCJTUFpsqPR.jg5HuaT2Xd.pKKgN46joD34jkSRiD9e', 'root', '2016-06-25 01:41:02', '2016-06-25 01:41:02', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$pMFs2SbXeZiiLC8fbNWLZuWteDevOzDpFF/jzw5oXzmw9s.Mz8hPG', 'dave', '2016-06-25 01:41:02', '2016-06-25 01:41:02', 227792459)  (2.3ms) commit transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:41:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.4ms) Completed 200 OK in 389ms (Views: 380.5ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:41:04 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:41:04 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:41:04 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (27.5ms) Completed 200 OK in 51ms (Views: 49.8ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:41:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Fixture Delete (1.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ImYiJm2XK7h4/uvCZHIWGOh5XhVsX4tz52MuRf.0ywIrpICWyAdv.', 'root', '2016-06-25 01:41:33', '2016-06-25 01:41:33', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Rxtq3Ec.GaVuxhb.L5Veb.kbuEtM30vd7Bu5gz3hyLmuyxmWxhwCm', 'dave', '2016-06-25 01:41:33', '2016-06-25 01:41:33', 227792459)  (1.8ms) commit transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:41:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms) Completed 200 OK in 756ms (Views: 747.6ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:41:35 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:41:35 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:41:35 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (18.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (32.8ms) Completed 200 OK in 63ms (Views: 59.4ms | ActiveRecord: 0.9ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:41:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$mNiy2kcl4FJXeALHm2YGbeVwBqDqoS0P8CBt5ld1qHW9bKOo0raCK', 'root', '2016-06-25 01:42:21', '2016-06-25 01:42:21', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$n3b0Mgc68nLhcN5gmwa.0erT1FMq3iON.dc4PNDbAxLHdXB51kIhm', 'dave', '2016-06-25 01:42:21', '2016-06-25 01:42:21', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:42:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.9ms) Completed 200 OK in 395ms (Views: 384.3ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:42:22 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:42:22 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:42:22 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (27.0ms) Completed 200 OK in 50ms (Views: 49.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:42:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$f6A.Ltdo1hmg.FIc3Suq/.z6XSmB1Zt90n2JqhjM.lnJyT/lDUohq', 'root', '2016-06-25 01:43:33', '2016-06-25 01:43:33', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$WQ7yKH3moq91AUlbzZXnUuGOCphl8ifrKSSj.l85yr.a5v1GRq1Ly', 'dave', '2016-06-25 01:43:33', '2016-06-25 01:43:33', 227792459)  (1.9ms) commit transaction  (0.2ms) begin transaction ----------------------------------- ClearTest: test_0001_clears history ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:43:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (9.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (22.5ms) Completed 200 OK in 538ms (Views: 526.6ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:43:35 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:43:35 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:43:42 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (30.2ms) Completed 200 OK in 52ms (Views: 51.2ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$dZyObyecX7inBrJA4ymDWeFPegZUo/r35QnsSoDecDaW8ch5Adcvq', 'root', '2016-06-25 01:43:58', '2016-06-25 01:43:58', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$tTlSxzkKcgYaycBfC4ANqulm06.V0m6usZZR1lhmMptwe9pk0oDua', 'dave', '2016-06-25 01:43:58', '2016-06-25 01:43:58', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ----------------------------------- ClearTest: test_0001_clears history ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:43:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.8ms) Completed 200 OK in 385ms (Views: 376.4ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:43:59 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:43:59 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:44:06 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (1.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (49.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (976.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (995.3ms) Completed 200 OK in 1028ms (Views: 1024.7ms | ActiveRecord: 1.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:44:28 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (25.5ms) Completed in 56ms (ActiveRecord: 0.0ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$YkUuII7vOajmo2UIEEs58ON31OdyUplj6Ku3B41G7jlc7SeDb3MpO', 'root', '2016-06-25 01:46:11', '2016-06-25 01:46:11', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$HOP66j00eFDVuHdy1E7mP.eSD7fWfc2rPGlj8OJZWhfEgY6lB7.6m', 'dave', '2016-06-25 01:46:11', '2016-06-25 01:46:11', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:46:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.7ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.7ms) Completed 200 OK in 382ms (Views: 373.6ms | ActiveRecord: 0.6ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:46:12 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:46:12 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:46:13 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.9ms) Completed 200 OK in 41ms (Views: 40.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$xFBihIj6.ANx601B9.DtGOsdiZrl3oFXbiE47emXzgOYNadKFV04q', 'root', '2016-06-25 01:46:33', '2016-06-25 01:46:33', 135138680) Fixture Insert (1.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$IHl4m8PfTC8sBl4uMamg5e6q5QEW0rL5ORHcX/O.lhZaaUM9YOsQq', 'dave', '2016-06-25 01:46:33', '2016-06-25 01:46:33', 227792459)  (1.9ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:46:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.8ms) Completed 200 OK in 381ms (Views: 372.8ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:46:35 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:46:35 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:46:35 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.2ms) Completed 200 OK in 42ms (Views: 42.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:46:36 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.8ms) Completed 200 OK in 49ms (Views: 45.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:46:36 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.9ms) Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$bR6fOB0ls7WQEXoPhNO2qeDeJmZBTU7PDELAgJG4s5zr1IxLLJ1Tm', 'root', '2016-06-25 01:48:30', '2016-06-25 01:48:30', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$sjGEIQ.SHB8V0IdbFZorNuGnPexdMk0lkLLgcvUb/il4imNiPX/Iy', 'dave', '2016-06-25 01:48:30', '2016-06-25 01:48:30', 227792459)  (2.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:48:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 468ms (Views: 458.7ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:48:32 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:48:32 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:48:32 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (8.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (24.1ms) Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:48:32 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.7ms) Completed 200 OK in 49ms (Views: 45.8ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:48:37 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.7ms) Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.0ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$57aE2uxkTk5mCVKMqAJxoe1tvZLheXfDrPQMZlQfkHN0kEs3UJCHC', 'root', '2016-06-25 01:50:44', '2016-06-25 01:50:44', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$hIEqEsBxENb7kk9EAUeuqu2xq3GKjeQK/apXaB07ufkUL3GWju1ly', 'dave', '2016-06-25 01:50:44', '2016-06-25 01:50:44', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:50:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 385ms (Views: 376.8ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:50:45 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:50:45 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:50:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.3ms) Completed 200 OK in 43ms (Views: 42.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:50:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (21.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (41.4ms) Completed 200 OK in 64ms (Views: 59.5ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:50:46 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (2.1ms) Completed 200 OK in 46ms (Views: 42.0ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$8Ze0D6Dw.uvHx841YisZTO8QNWpGo/waJgq3KnEwpvwUNTwlw98Ma', 'root', '2016-06-25 01:51:19', '2016-06-25 01:51:19', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$3RI0m2bD/G98QVC4dE6Xo.QoKUvk3LaLr.Is5hl4oh9f23IqWqri6', 'dave', '2016-06-25 01:51:19', '2016-06-25 01:51:19', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:51:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 336ms (Views: 327.8ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:51:21 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:51:21 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:51:21 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.5ms) Completed 200 OK in 37ms (Views: 37.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:51:21 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.7ms) Completed 200 OK in 44ms (Views: 40.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:51:21 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.6ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$imcUq3FvXLv.jZB/6yWTAOaqtn8w.otQkXk3qh898xbp79REz5wdu', 'root', '2016-06-25 01:51:52', '2016-06-25 01:51:52', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$vgVVqgDOZ98wIF2aOy8ga..6eiKyIQhYyXLjWT4tZfu.ixEuXwgbe', 'dave', '2016-06-25 01:51:52', '2016-06-25 01:51:52', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:51:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (10.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (23.1ms) Completed 200 OK in 444ms (Views: 432.9ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:51:54 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:51:54 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:51:54 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.7ms) Completed 200 OK in 42ms (Views: 41.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:51:54 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.1ms) Completed 200 OK in 41ms (Views: 37.9ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:51:54 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.5ms) Completed 200 OK in 34ms (Views: 32.4ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 18:51:54 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$m60j7.s00fxuWXylXXdDQO.2oTq9KHmCCPGuU/O93U5Tvdw821zk.', 'root', '2016-06-25 01:52:40', '2016-06-25 01:52:40', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$odgO0g7eV1wtOBsrAAClN.fZbdSnzBB52o8ciiM9NwcLLSkTkYdhm', 'dave', '2016-06-25 01:52:40', '2016-06-25 01:52:40', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:52:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 339ms (Views: 330.5ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:52:42 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:52:42 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:52:42 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.8ms) Completed 200 OK in 42ms (Views: 41.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:52:42 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.4ms) Completed 200 OK in 45ms (Views: 41.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:52:42 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.0ms) Completed 200 OK in 31ms (Views: 29.9ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 18:52:42 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 47ms (Views: 47.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Ze8vPBu4BDJQToB3w9DY2eXrZcMhVXSaZ5incUMFj9D/K/teghHsm', 'root', '2016-06-25 01:54:43', '2016-06-25 01:54:43', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$RVsZx50X3z238U/4htaOaeaCh21or0CMoRKpxj1AV8Pikz3WIBbkC', 'dave', '2016-06-25 01:54:43', '2016-06-25 01:54:43', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:54:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.6ms) Completed 200 OK in 406ms (Views: 397.6ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:54:44 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:54:44 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:54:44 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.7ms) Completed 200 OK in 45ms (Views: 44.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$8L512da7SRmnta4zsek5NenP/2unW2OAexveoezIz69woxLYFSRA6', 'root', '2016-06-25 01:55:01', '2016-06-25 01:55:01', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$3v8MLq7yNQeXuKwz3AOGh.g/fYXJRwlNBMPc2qEjvN/g.Gst6cO6y', 'dave', '2016-06-25 01:55:01', '2016-06-25 01:55:01', 227792459)  (1.7ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:55:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms) Completed 200 OK in 415ms (Views: 405.6ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:55:03 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:55:03 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:55:03 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.8ms) Completed 200 OK in 45ms (Views: 44.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:55:03 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.3ms) Completed 200 OK in 47ms (Views: 44.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:55:03 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.8ms) Completed 200 OK in 35ms (Views: 34.1ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 18:55:03 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 38ms (Views: 37.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$.t9vP6K23CfxzmerKtxPheG0XxlYxe8QfWHP7ZnWLwEbjnsAAU8rG', 'root', '2016-06-25 01:55:20', '2016-06-25 01:55:20', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$giFW767Jt2UJZuJh13iKi.VfxIpW8GDAqfePQXBDUHIvj2ZWglr.2', 'dave', '2016-06-25 01:55:20', '2016-06-25 01:55:20', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:55:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.8ms) Completed 200 OK in 413ms (Views: 399.9ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:55:22 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:55:22 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:55:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.0ms) Completed 200 OK in 42ms (Views: 41.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:55:22 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.4ms) Completed 200 OK in 48ms (Views: 43.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:55:22 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.6ms) Completed 200 OK in 36ms (Views: 34.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 18:55:22 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 44ms (Views: 43.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$SI6I7MEkq79E1nCPXdS16uLsrK.cYx6yfF66H.ZpYCCV3vQr4PU3.', 'root', '2016-06-25 01:55:35', '2016-06-25 01:55:35', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$mhQHG2UTzGF9MnOQ.yMo0e3oN.XRDhdP7qunQSIN4b4glkXrCGaH6', 'dave', '2016-06-25 01:55:35', '2016-06-25 01:55:35', 227792459)  (3.1ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:55:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 411ms (Views: 402.5ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:55:37 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:55:37 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:55:37 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.3ms) Completed 200 OK in 44ms (Views: 44.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:55:37 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.0ms) Completed 200 OK in 48ms (Views: 44.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:55:37 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.4ms) Completed 200 OK in 37ms (Views: 36.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 18:55:37 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$1aDG4otkfwUfMWbEbm3rQu1DkuIkKtE0JvamA1Ny3h3BgHdJ5FqbW', 'root', '2016-06-25 01:56:05', '2016-06-25 01:56:05', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$rQD6cVbE3HTV6cxaw8r1lOc6Kdp/XcwtkQ/t3njDG8PruqEQU0Zj.', 'dave', '2016-06-25 01:56:05', '2016-06-25 01:56:05', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:56:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.5ms) Completed 200 OK in 401ms (Views: 392.9ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:56:06 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:56:06 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:56:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.2ms) Completed 200 OK in 43ms (Views: 42.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:56:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.9ms) Completed 200 OK in 46ms (Views: 42.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:56:07 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.4ms) Completed 200 OK in 42ms (Views: 40.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 18:56:07 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 47ms (Views: 46.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$nnyhEoVrTq9QLIaItSK6e.KeNML0oxBo6dAOJ6n2WzZ0m78aejv0m', 'root', '2016-06-25 01:56:24', '2016-06-25 01:56:24', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$asBAOYVOda/HUInRJMBxFu9H8EBXuhI37qJnJpyk2xPfr5szK9GGq', 'dave', '2016-06-25 01:56:24', '2016-06-25 01:56:24', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:56:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (17.6ms) Completed 200 OK in 447ms (Views: 438.6ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:56:26 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:56:26 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:56:26 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.1ms) Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:56:26 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (32.4ms) Completed 200 OK in 55ms (Views: 48.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:56:26 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.3ms) Completed 200 OK in 48ms (Views: 46.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 18:56:26 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3hX3DN96oX.iFZ.SDU1gjeQnBQ.NJ56mwlKDJBzh94j69sQ91gbcy', 'root', '2016-06-25 01:57:08', '2016-06-25 01:57:08', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$dPpE1zs8RdDnkae8acPq4.6UVDo3jeZhNSZf4KdupKpK0dalpbYRa', 'dave', '2016-06-25 01:57:08', '2016-06-25 01:57:08', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 18:57:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.6ms) Completed 200 OK in 336ms (Views: 327.8ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 18:57:10 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 18:57:10 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:57:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.1ms) Completed 200 OK in 38ms (Views: 37.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 18:57:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.6ms) Completed 200 OK in 45ms (Views: 41.9ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 18:57:10 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.6ms) Completed 200 OK in 32ms (Views: 31.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 18:57:10 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.1ms) Completed 200 OK in 23ms (Views: 23.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$fjPKa.FKk5b5M47MLRMQ4u97yvE5CXovO0A3AoZ14YbjfE1BjFUaW', 'root', '2016-06-25 02:28:53', '2016-06-25 02:28:53', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$KqmCOFVlafy0TmjbH3wth.i7MWhjKzzN.lswc6tpFWrx1hvbV1N1u', 'dave', '2016-06-25 02:28:53', '2016-06-25 02:28:53', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:28:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 438ms (Views: 430.2ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:28:54 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:28:54 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:28:54 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.9ms) Completed 200 OK in 38ms (Views: 38.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:28:54 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.8ms) Completed 200 OK in 42ms (Views: 39.9ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:28:54 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.3ms) Completed 200 OK in 30ms (Views: 28.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$cV./akkjqG2XaBsLQXAMb.7fGSBdqe8buYvLrLphkLVz6LUIUHQXi', 'root', '2016-06-25 02:29:10', '2016-06-25 02:29:10', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$jol1aQlQmxg4SXcQvdquAO9ULQI3gzFS0CKRPxVhbOVlDGIdM2y8K', 'dave', '2016-06-25 02:29:10', '2016-06-25 02:29:10', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:29:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.0ms) Completed 200 OK in 330ms (Views: 320.9ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:29:12 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:29:12 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:29:12 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.3ms) Completed 200 OK in 40ms (Views: 39.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:29:12 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.4ms) Completed 200 OK in 41ms (Views: 37.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:29:12 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.2ms) Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3kKPU7SKG7tGTtLjawbaMeBxmwbLVpQ05GKvrA6tblijdle.jlPJK', 'root', '2016-06-25 02:29:27', '2016-06-25 02:29:27', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$gW2ATB6OxPdiieV7tR1aKeGlNUe1fDBPlL.EkqlSgruSGJq4IskJ2', 'dave', '2016-06-25 02:29:27', '2016-06-25 02:29:27', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:29:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 340ms (Views: 332.4ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:29:29 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:29:29 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:29:29 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.6ms) Completed 200 OK in 36ms (Views: 36.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:29:29 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.4ms) Completed 200 OK in 42ms (Views: 38.9ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:29:29 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.6ms) Completed 200 OK in 32ms (Views: 31.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$WFES/qALhXVGUob.nOdHaOgGVztywn4zeRwVY65dH00Dmf9fzI2yW', 'root', '2016-06-25 02:30:35', '2016-06-25 02:30:35', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Mv9XCHkDlgt/GS6uSTRtT.3lS4NO/t4x0AlzeJBXJSfgVpD6VJlSW', 'dave', '2016-06-25 02:30:35', '2016-06-25 02:30:35', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:30:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.4ms) Completed 200 OK in 326ms (Views: 318.8ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:30:36 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:30:36 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:30:36 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.5ms) Completed 200 OK in 36ms (Views: 35.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hY/i178eNyS5LXfh9tdkNuWx6GgwTdug5rlOJ65pMTdoQma1Sq12m', 'root', '2016-06-25 02:30:57', '2016-06-25 02:30:57', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Tw0af1/eRZRJ7oksxuzqRe9ZxXkmf9jLUaKOB8hMO8P89wxFJJaj.', 'dave', '2016-06-25 02:30:57', '2016-06-25 02:30:57', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:30:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.2ms) Completed 200 OK in 427ms (Views: 418.7ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:30:59 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:30:59 -0700 LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:30:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (39.2ms) Completed 200 OK in 72ms (Views: 71.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:31:00 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (23.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (40.3ms) Completed 200 OK in 60ms (Views: 55.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:31:00 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.6ms) Completed 200 OK in 42ms (Views: 39.8ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:31:00 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (2.5ms) Completed 200 OK in 68ms (Views: 67.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$gTBCg/6Lx2vQkySG25K.eOyLB8Ql8tMBXDU0UihJgUOFLEkuW5WDy', 'root', '2016-06-25 02:31:32', '2016-06-25 02:31:32', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$peqLA/zQcf8f2Arh39Ld4eVzsjyvpuU06QGFQx/DM5xjZ3LR8RcNe', 'dave', '2016-06-25 02:31:32', '2016-06-25 02:31:32', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:31:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.3ms) Completed 200 OK in 357ms (Views: 347.9ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:31:34 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:31:34 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:31:34 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.8ms) Completed 200 OK in 39ms (Views: 38.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:31:34 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.3ms) Completed 200 OK in 46ms (Views: 43.1ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:31:34 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.4ms) Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:31:34 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 37ms (Views: 36.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$LaoAe1.T1HQ4xcJWYVtVw.sff2wJmfdKo5UDtXQQ87L0.W089/XYS', 'root', '2016-06-25 02:31:44', '2016-06-25 02:31:44', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ntFOJ6VDfE45AH0nRj2x4.tCe2SbfTark8Kg56e4BsPPmxOIjrIXe', 'dave', '2016-06-25 02:31:44', '2016-06-25 02:31:44', 227792459)  (1.7ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:31:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.4ms) Completed 200 OK in 337ms (Views: 329.7ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:31:46 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:31:46 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:31:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.2ms) Completed 200 OK in 40ms (Views: 39.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:31:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.2ms) Completed 200 OK in 41ms (Views: 38.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:31:46 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.5ms) Completed 200 OK in 31ms (Views: 29.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:31:46 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (22.3ms) Completed 200 OK in 35ms (Views: 35.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$RpGGxkHfDBJ0eKiuLoHeNOji2T56BNPb.q6.byNxGHRXA502j4tLO', 'root', '2016-06-25 02:32:03', '2016-06-25 02:32:03', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$tLDXVQ1Y9aLKRRltwbdGi.AlMUGyEPkMC6Eret1kt9Y7Vny35KYbG', 'dave', '2016-06-25 02:32:03', '2016-06-25 02:32:03', 227792459)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:32:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 416ms (Views: 408.1ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:32:05 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:32:05 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:32:05 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.7ms) Completed 200 OK in 40ms (Views: 39.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:32:05 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.9ms) Completed 200 OK in 42ms (Views: 39.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:32:06 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.0ms) Completed 200 OK in 32ms (Views: 30.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:32:06 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 2691ms (Views: 17.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$BSedwMAZgy3A86SOHSP2vuzpfl66ZYlU8Mcud4X/qzw1BJop4YiDq', 'root', '2016-06-25 02:33:31', '2016-06-25 02:33:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$tXE.tH1kiGsVZhPhBEe93uC.9Mt/WEqulyB/3VDkXmfmp6K9Qspsy', 'dave', '2016-06-25 02:33:31', '2016-06-25 02:33:31', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:33:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.3ms) Completed 200 OK in 346ms (Views: 338.0ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:33:33 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:33:33 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:33:33 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.8ms) Completed 200 OK in 45ms (Views: 44.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:33:33 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.7ms) Completed 200 OK in 45ms (Views: 42.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:33:33 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.5ms) Completed 200 OK in 32ms (Views: 30.4ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:33:33 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 37ms (Views: 36.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$VwrAPzCYijAdwvScyqzIq.46w1qrcsBUmqjKspGklTLGLfEiTQGIK', 'root', '2016-06-25 02:33:46', '2016-06-25 02:33:46', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$sOY3aF9Bw9elIoaxowB/ReZ9PmoGz1Hi3C76380QcIXieGoiIpo9C', 'dave', '2016-06-25 02:33:46', '2016-06-25 02:33:46', 227792459)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:33:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.6ms) Completed 200 OK in 452ms (Views: 440.4ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:33:48 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:33:48 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:33:48 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.6ms) Completed 200 OK in 40ms (Views: 39.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:33:48 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.1ms) Completed 200 OK in 42ms (Views: 37.8ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:33:48 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.9ms) Completed 200 OK in 34ms (Views: 32.4ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:33:48 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (20.8ms) Completed 200 OK in 34ms (Views: 34.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$FAfxtc5rTA8L71I0AyUKuuTee.XzLwdGcrVLCi7u3Uwkq/MHqwcgi', 'root', '2016-06-25 02:33:56', '2016-06-25 02:33:56', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$FrGJ4g8C8nAZZ2vylGlN3evARrasey5kOEAHg3dK9.gwLFo5R3ySW', 'dave', '2016-06-25 02:33:56', '2016-06-25 02:33:56', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:33:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.3ms) Completed 200 OK in 434ms (Views: 423.5ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:33:58 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:33:58 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:33:58 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (8.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (24.3ms) Completed 200 OK in 59ms (Views: 58.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:33:58 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.6ms) Completed 200 OK in 43ms (Views: 40.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:33:58 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.2ms) Completed 200 OK in 34ms (Views: 32.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:33:58 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (47964.0ms) Completed 500 Internal Server Error in 47980ms (ActiveRecord: 0.0ms)  (10.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$45mpgjUv6V0PR.x7qlVsCeK5GcUFjSaQvi3bPQ8rlBa0SOk0/OduW', 'root', '2016-06-25 02:35:17', '2016-06-25 02:35:17', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$5TGip/1B1RD1wl0hTbHd.uxqv0M5vWYdPRS64RPSkb.bnJ5NtZL.m', 'dave', '2016-06-25 02:35:17', '2016-06-25 02:35:17', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:35:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.4ms) Completed 200 OK in 333ms (Views: 325.1ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:35:18 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:35:18 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:35:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (13.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (47.6ms) Completed 200 OK in 74ms (Views: 73.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:35:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.9ms) Completed 200 OK in 44ms (Views: 40.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:35:18 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.6ms) Completed 200 OK in 33ms (Views: 31.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:35:19 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.8ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$OnImB1DJOQ7PaSqXnXHmfOXYqBRjR8eBYeP1f80wQ/T/YENLiAMLi', 'root', '2016-06-25 02:35:49', '2016-06-25 02:35:49', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Kp8OvM8c5gVlJa/SpmZmee6E.fMtJJ18MjySQxHfIIRhNqjFUqzzy', 'dave', '2016-06-25 02:35:49', '2016-06-25 02:35:49', 227792459)  (2.4ms) commit transaction  (0.2ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:35:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms) Completed 200 OK in 397ms (Views: 387.1ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:35:51 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:35:51 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:35:51 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.5ms) Completed 200 OK in 44ms (Views: 43.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:35:51 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.7ms) Completed 200 OK in 46ms (Views: 42.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:35:52 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.5ms) Completed 200 OK in 35ms (Views: 33.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:35:52 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 72ms (Views: 71.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$m3lMvQF.DqhPzitTwbI9dufHPvUHROvz2BLKjSQGT2Wrx/dLHQ5N6', 'root', '2016-06-25 02:38:47', '2016-06-25 02:38:47', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$mNshv8KKZ9lykb5lMYOn3.I.CM8Ha8Oj4J5/qx0JWggLtnNB1MLy6', 'dave', '2016-06-25 02:38:47', '2016-06-25 02:38:47', 227792459)  (3.7ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:38:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.7ms) Completed 200 OK in 381ms (Views: 372.3ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:38:49 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:38:49 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:38:49 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.6ms) Completed 200 OK in 43ms (Views: 42.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:38:49 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.7ms) Completed 200 OK in 47ms (Views: 44.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:38:49 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.0ms) Completed 200 OK in 34ms (Views: 32.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$MnvJn.ZoZZeJqP50VRqm2uMvVCE1.Vp0r66hp.DsGqWPjQDV8sQgO', 'root', '2016-06-25 02:42:02', '2016-06-25 02:42:02', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$NVEjh3eYxUVXY8/n4R.Wy.TUB327GGdmvbTRntc2GWHbV.MLf7uKO', 'dave', '2016-06-25 02:42:02', '2016-06-25 02:42:02', 227792459)  (1.4ms) commit transaction  (0.0ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:42:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 391ms (Views: 381.4ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:42:04 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:42:04 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:42:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.3ms) Completed 200 OK in 43ms (Views: 42.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:42:04 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.1ms) Completed 200 OK in 46ms (Views: 43.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:42:04 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.4ms) Completed 200 OK in 37ms (Views: 35.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$/AISTKvpNO2.bODkMCuz/.9AfUtq8MU4Ffw6F42nTe52UAQmz56XC', 'root', '2016-06-25 02:43:15', '2016-06-25 02:43:15', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$7NPr6gRlGjMtGCKhWMAkXeQauCY4az3CSTiVAvJyCssfb.fyvh8NS', 'dave', '2016-06-25 02:43:15', '2016-06-25 02:43:15', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:43:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms) Completed 200 OK in 382ms (Views: 373.6ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:43:17 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:43:17 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:43:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.1ms) Completed 200 OK in 43ms (Views: 43.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:43:17 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.5ms) Completed 200 OK in 45ms (Views: 42.1ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:43:17 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.9ms) Completed 200 OK in 36ms (Views: 34.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:43:17 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 43ms (Views: 43.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.7ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ZlRYuHrTwJC/A6Czda5LmOxAW16JcXKJjJhlm8TtsWAE6W.xcOrgu', 'root', '2016-06-25 02:45:52', '2016-06-25 02:45:52', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$lhDIFaFnoTLgyPCdYTnlRuM3c0mCR5RSHdiLjJK79LpaX.vcxXcK6', 'dave', '2016-06-25 02:45:52', '2016-06-25 02:45:52', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:45:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.5ms) Completed 200 OK in 379ms (Views: 370.1ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:45:53 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:45:53 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:45:53 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.3ms) Completed 200 OK in 41ms (Views: 40.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:45:53 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.2ms) Completed 200 OK in 46ms (Views: 43.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:45:53 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.3ms) Completed 200 OK in 34ms (Views: 32.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:45:53 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (22.3ms) Completed 200 OK in 42ms (Views: 41.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ahWCluum1y1YGuXIEmqZeOtjWaTG7ZrFVAwtEXMQqG0dYqkpimzu.', 'root', '2016-06-25 02:46:11', '2016-06-25 02:46:11', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$pxdEt1PHuMp7dghsZY8TdOZXd.i7g/MyrIR19pOjSXbLwejZ5JIci', 'dave', '2016-06-25 02:46:11', '2016-06-25 02:46:11', 227792459)  (2.8ms) commit transaction  (0.3ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:46:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.2ms) Completed 200 OK in 384ms (Views: 375.3ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:46:13 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:46:13 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:46:13 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.7ms) Completed 200 OK in 42ms (Views: 41.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:46:13 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.8ms) Completed 200 OK in 45ms (Views: 42.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:46:13 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (21.2ms) Completed 200 OK in 42ms (Views: 40.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:46:13 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (115.1ms) Completed 500 Internal Server Error in 132ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$J1fVnXGKnzryCzcvoXR.puJi3Q66GxUZB02Q6gLP6IvkC7nrnMJnK', 'root', '2016-06-25 02:46:31', '2016-06-25 02:46:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$VyWgyssg6/nLKyjAPI9Y2.Yrby.5IGN3JgbMzV79.44ptE13TrpX2', 'dave', '2016-06-25 02:46:31', '2016-06-25 02:46:31', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:46:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.6ms) Completed 200 OK in 370ms (Views: 361.6ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:46:32 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:46:32 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:46:33 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.2ms) Completed 200 OK in 42ms (Views: 41.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:46:33 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.4ms) Completed 200 OK in 47ms (Views: 43.0ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:46:33 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.7ms) Completed 200 OK in 35ms (Views: 34.1ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:46:33 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$qR2aO5KpqwWlCmbHYYTY7uPHSv2HlhPTXe/volGu3ee1.udmgSDSW', 'root', '2016-06-25 02:47:10', '2016-06-25 02:47:10', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$MrkUrKAdeCGoAf45Sx88sOwPxtYkGJQ2XZb.WaBr6KgSXzosbMwwe', 'dave', '2016-06-25 02:47:10', '2016-06-25 02:47:10', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:47:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.6ms) Completed 200 OK in 321ms (Views: 313.5ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:47:12 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:47:12 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:47:12 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.0ms) Completed 200 OK in 36ms (Views: 36.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:47:12 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.0ms) Completed 200 OK in 39ms (Views: 36.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:47:12 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.3ms) Completed 200 OK in 32ms (Views: 30.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:47:12 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (32.2ms) Completed 200 OK in 45ms (Views: 44.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$8QH5WNGpn4CMEt4GHVdvWOPQv31FULGAR3u3aN8bof8m8tPtQzLOq', 'root', '2016-06-25 02:48:31', '2016-06-25 02:48:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$cPl0rgUen0Qtf5DbU6sk2uXj85S1Vg5Pr4eLtgSwd83jQYBaCBtl2', 'dave', '2016-06-25 02:48:31', '2016-06-25 02:48:31', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:48:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.8ms) Completed 200 OK in 331ms (Views: 323.2ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:48:33 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:48:33 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:48:33 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.5ms) Completed 200 OK in 36ms (Views: 36.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:48:33 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.4ms) Completed 200 OK in 42ms (Views: 39.1ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:48:33 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.1ms) Completed 200 OK in 30ms (Views: 28.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:48:33 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (83.1ms) Completed 500 Internal Server Error in 96ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$r4ZcFSe/JIHHVaIe7OCXU.DdzNyWZWrGiKSfEu.HYshmnbTprQCXq', 'root', '2016-06-25 02:48:58', '2016-06-25 02:48:58', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ocyQLGF/45sAfgmntWcEk.fXnqNSdf6duB3vJuvhFj2uC9EviDWFy', 'dave', '2016-06-25 02:48:58', '2016-06-25 02:48:58', 227792459)  (1.7ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:48:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 333ms (Views: 325.0ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:48:59 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:48:59 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:49:00 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.4ms) Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:49:00 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.2ms) Completed 200 OK in 40ms (Views: 37.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:49:00 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.2ms) Completed 200 OK in 33ms (Views: 32.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:49:00 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (98.1ms) Completed 500 Internal Server Error in 113ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hLvCT6DNVradcdDxzp115e9Y0cF1XSJHuA2/2jcMjQ4Hzu/w8mcbm', 'root', '2016-06-25 02:49:11', '2016-06-25 02:49:11', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$SZzwP4icb5UUFJIfzSZzZua9XNL4hE/yANYLR8IyFl56tgCaciBHe', 'dave', '2016-06-25 02:49:11', '2016-06-25 02:49:11', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:49:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.3ms) Completed 200 OK in 345ms (Views: 337.6ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:49:12 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:49:12 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:49:12 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.9ms) Completed 200 OK in 41ms (Views: 41.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:49:12 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.2ms) Completed 200 OK in 40ms (Views: 37.8ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:49:12 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.1ms) Completed 200 OK in 32ms (Views: 30.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:49:12 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 46ms (Views: 45.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$oMxnXQVwz40wmXf.s4cJKOgvzpsMclBgqEv2HEDoaxT62966urlnS', 'root', '2016-06-25 02:50:31', '2016-06-25 02:50:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$7SLTiB5LfRki/2VkDq.hN.I1orSs7mfbP4RP6xQXyAjK4iTuUL0IW', 'dave', '2016-06-25 02:50:31', '2016-06-25 02:50:31', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:50:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.4ms) Completed 200 OK in 378ms (Views: 370.4ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:50:32 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:50:32 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:50:32 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.6ms) Completed 200 OK in 37ms (Views: 36.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:50:32 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.6ms) Completed 200 OK in 40ms (Views: 37.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:50:32 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.1ms) Completed 200 OK in 30ms (Views: 28.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:50:32 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 46ms (Views: 45.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hfOOKmL6dZtLRuDNv0ZT.uqdQCHfjK6veoTyzLxJEzOElch0M/M2a', 'root', '2016-06-25 02:54:30', '2016-06-25 02:54:30', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$iaEUyQPQvG/IjlIIMJUUUeXOm5TANp3X1rhfrOwU3MMi50SFW8Kz2', 'dave', '2016-06-25 02:54:30', '2016-06-25 02:54:30', 227792459)  (1.8ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:54:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.5ms) Completed 200 OK in 402ms (Views: 393.2ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:54:31 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:54:31 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:54:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (8.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.7ms) Completed 200 OK in 45ms (Views: 44.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:54:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.7ms) Completed 200 OK in 48ms (Views: 45.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:54:32 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (24.2ms) Completed 200 OK in 50ms (Views: 48.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:54:32 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$rtS4sDEiu68EAenaRUOK4O2K5B4CmEalTUt/BxVO6OivjTjV/FXQS', 'root', '2016-06-25 02:56:05', '2016-06-25 02:56:05', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$5FTdOJjqBz1XYguCo2kBheJ98VMAVNRvjZxazEZLStiZctPUQWeAC', 'dave', '2016-06-25 02:56:05', '2016-06-25 02:56:05', 227792459)  (1.9ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:56:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.3ms) Completed 200 OK in 389ms (Views: 380.0ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:56:07 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:56:07 -0700 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:56:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.2ms) Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:56:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.1ms) Completed 200 OK in 47ms (Views: 43.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:56:07 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.8ms) Completed 200 OK in 36ms (Views: 34.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:56:12 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (37.7ms) Completed 200 OK in 54ms (Views: 53.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$FrIBlYwK7mcX8JonDkI67u9N1hjwU/az4ad7i5R68vhHx55pAdgKu', 'root', '2016-06-25 02:57:16', '2016-06-25 02:57:16', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$THNuj8qeCaVeNPjOv5mh4OfcehJaqMbRRIxQE0jJi2CopfMT8wxfK', 'dave', '2016-06-25 02:57:16', '2016-06-25 02:57:16', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:57:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 379ms (Views: 369.8ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:57:17 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:57:17 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:57:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (8.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.8ms) Completed 200 OK in 42ms (Views: 42.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:57:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.2ms) Completed 200 OK in 45ms (Views: 42.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:57:18 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.2ms) Completed 200 OK in 36ms (Views: 34.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:57:23 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ib3OWKTclow25fyqgu4XfuV7JKrEKsIcYAZl3eneyNn9OzJUCpvEu', 'root', '2016-06-25 02:58:58', '2016-06-25 02:58:58', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$R0aFbsOKYymrH36hETcRNODrUci2COHaHSxZHVD1olwKp2ZwC7RLS', 'dave', '2016-06-25 02:58:58', '2016-06-25 02:58:58', 227792459)  (1.5ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:58:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.7ms) Completed 200 OK in 330ms (Views: 322.4ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:58:59 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:58:59 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:58:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.6ms) Completed 200 OK in 39ms (Views: 38.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:59:00 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.9ms) Completed 200 OK in 46ms (Views: 43.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:59:00 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.1ms) Completed 200 OK in 30ms (Views: 29.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:59:05 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 11065ms (Views: 15.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$c5kUsXnNZfPPkFBB9Xrm2uSv.7Siz/7O9jz7b6Q/30Sk6yqQdhkfO', 'root', '2016-06-25 02:59:54', '2016-06-25 02:59:54', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$FhNteA3MPuLO9E8LkaBC7O6qnZWFCfS2W7nTdGY0c.HIU0.qNBMjq', 'dave', '2016-06-25 02:59:54', '2016-06-25 02:59:54', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 19:59:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.8ms) Completed 200 OK in 388ms (Views: 378.4ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 19:59:56 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 19:59:56 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:59:56 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.8ms) Completed 200 OK in 43ms (Views: 42.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 19:59:56 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.4ms) Completed 200 OK in 46ms (Views: 43.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 19:59:56 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.9ms) Completed 200 OK in 35ms (Views: 33.5ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 19:59:56 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 6559ms (Views: 15.2ms | ActiveRecord: 0.0ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$nCsqvWYFe6cs/R5z/hFCye7twlF0Fk12Dc6lPbBYe.SxK9RNmcWKa', 'root', '2016-06-25 03:00:31', '2016-06-25 03:00:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$3/WsMwpqEgh67WovTsfcD.i/9GShvmpSZ9zwZAqZMc/Exn5ztNRbS', 'dave', '2016-06-25 03:00:31', '2016-06-25 03:00:31', 227792459)  (2.5ms) commit transaction  (0.2ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:00:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.6ms) Completed 200 OK in 379ms (Views: 370.4ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:00:33 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:00:33 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:00:33 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.5ms) Completed 200 OK in 44ms (Views: 43.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:00:33 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.6ms) Completed 200 OK in 48ms (Views: 45.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:00:33 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.3ms) Completed 200 OK in 35ms (Views: 33.8ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:00:33 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 25ms (Views: 25.0ms | ActiveRecord: 0.0ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$t80Q3vA1GVx/5TbcujEyyujemNqLrq7klf1gt.CqvLzML9MB27Mni', 'root', '2016-06-25 03:03:37', '2016-06-25 03:03:37', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$/G4rUj1nuEmceXbJXPsZo.4FZaPD4kCMhC77OD2f6Sj9.5C7.Fo3a', 'dave', '2016-06-25 03:03:37', '2016-06-25 03:03:37', 227792459)  (1.7ms) commit transaction  (0.2ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:03:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.0ms) Completed 200 OK in 382ms (Views: 372.9ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:03:38 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:03:38 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:03:38 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.6ms) Completed 200 OK in 42ms (Views: 41.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:03:39 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.4ms) Completed 200 OK in 44ms (Views: 40.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:03:39 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.6ms) Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:03:39 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Yyfk.g0AmESjQqMwcifFvuS8b.Jc9VrhDhXbs3AkQzSQLuki9kSA.', 'root', '2016-06-25 03:04:15', '2016-06-25 03:04:15', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$4FnMjoySQ3aXqQM/MPLLSuTmjQoVNOUC7v/gf33JWJBCEFCI2i3AS', 'dave', '2016-06-25 03:04:15', '2016-06-25 03:04:15', 227792459)  (43.7ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:04:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.7ms) Completed 200 OK in 464ms (Views: 455.2ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:04:17 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:04:17 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:04:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.0ms) Completed 200 OK in 40ms (Views: 39.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:04:17 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.3ms) Completed 200 OK in 45ms (Views: 42.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:04:17 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.4ms) Completed 200 OK in 31ms (Views: 29.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:04:17 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.1ms | ActiveRecord: 0.0ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$dJDPS1SJABLvtASEbriyo.RXsMXwzqm7Eh3qLLbx9yRwAasY9B6uW', 'root', '2016-06-25 03:05:08', '2016-06-25 03:05:08', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$3sdRsLDPVDxm13de9kIGXuKlyOkB7gkm1HJUWeUuIc4HJDH3UulaO', 'dave', '2016-06-25 03:05:08', '2016-06-25 03:05:08', 227792459)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:05:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.4ms) Completed 200 OK in 419ms (Views: 410.1ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:05:10 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:05:10 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:05:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.9ms) Completed 200 OK in 45ms (Views: 44.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:05:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.6ms) Completed 200 OK in 49ms (Views: 46.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:05:10 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.1ms) Completed 200 OK in 38ms (Views: 36.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:05:10 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 20ms (Views: 19.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:11:29 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"pass", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (4.0ms) Completed 200 OK in 38ms (Views: 34.8ms | ActiveRecord: 0.0ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (1.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$taTsL.XQ/RBwtTzIuc5NUOKqKHLQf3lbKIL8qxwsfBTqUptAsy1Z6', 'root', '2016-06-25 03:12:15', '2016-06-25 03:12:15', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$qLQCRTaEB38sETD.lQ2hXOIFekCaT9uhHjarUFmFlX6DW.aS52olm', 'dave', '2016-06-25 03:12:15', '2016-06-25 03:12:15', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:12:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.9ms) Completed 200 OK in 483ms (Views: 472.7ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:12:17 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:12:17 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:12:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (26.9ms) Completed 200 OK in 49ms (Views: 48.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:12:17 -0700  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$k/covS5tOtr3gsLw8tJzKO2aanV/lXQr42AsfYRQNgxGkADNcbTjC', 'root', '2016-06-25 03:12:31', '2016-06-25 03:12:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$OlK4mUP4Qgc2imHstLnHxujRXFMV.LJS.OrU9vAwLrj7u7JIVPkGS', 'dave', '2016-06-25 03:12:31', '2016-06-25 03:12:31', 227792459)  (1.5ms) commit transaction  (0.0ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:12:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.2ms) Completed 200 OK in 413ms (Views: 402.7ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:12:33 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:12:33 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:12:33 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (24.0ms) Completed 200 OK in 48ms (Views: 47.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:12:33 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.0ms) Completed 200 OK in 51ms (Views: 46.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:12:33 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (19.2ms) Completed 200 OK in 45ms (Views: 41.1ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.9ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$9bZE7jK8iwbuAED/.isYJeTl1S7eaa5HkhrjqglCXCIFIhNb1dvBy', 'root', '2016-06-25 03:12:46', '2016-06-25 03:12:46', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$4Ycd7zwx3WJ.wXC4wYIhzeOl/3r0LAmZx0ZjdZV1f9c.l5wjQCtG2', 'dave', '2016-06-25 03:12:46', '2016-06-25 03:12:46', 227792459)  (2.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:12:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.0ms) Completed 200 OK in 401ms (Views: 392.5ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:12:48 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:12:48 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:12:48 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.6ms) Completed 200 OK in 41ms (Views: 40.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:12:48 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.7ms) Completed 200 OK in 43ms (Views: 40.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:12:48 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.8ms) Completed 200 OK in 37ms (Views: 36.0ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:13:17 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (3.1ms) Completed 200 OK in 18395ms (Views: 18391.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:13:37 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (3.4ms) Completed 200 OK in 2376ms (Views: 2374.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:14:12 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (2.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (10.0ms) Completed 200 OK in 5800ms (Views: 5766.7ms | ActiveRecord: 2.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:14:20 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (17.6ms) Completed 200 OK in 34ms (Views: 24.0ms | ActiveRecord: 0.4ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$wvhOE8luysol494zodyu7urhUIVaH/BZxhZ/J0TDOxDn4OdNhs7Ni', 'root', '2016-06-25 03:15:39', '2016-06-25 03:15:39', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$4CfbLlJIKjQ2.FMoTPhACOjYxgJVls9H7KESluOINKA9uO/rMKluq', 'dave', '2016-06-25 03:15:39', '2016-06-25 03:15:39', 227792459)  (0.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:15:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (17.4ms) Completed 200 OK in 474ms (Views: 462.7ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:15:40 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:15:40 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:15:40 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (26.3ms) Completed 200 OK in 49ms (Views: 49.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:15:40 -0700  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$d9SDBzbscHsjs5Tpegfq5uhpnAlbB0qZxGWZ69.jIIsyN0aYsZx2a', 'root', '2016-06-25 03:15:54', '2016-06-25 03:15:54', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$oV.QEzejRNORWfYdToQj6uUQBJY6qUY8h1uv4suGspPrwIFB1C4XO', 'dave', '2016-06-25 03:15:54', '2016-06-25 03:15:54', 227792459)  (1.7ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:15:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.8ms) Completed 200 OK in 395ms (Views: 384.8ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:15:56 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:15:56 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:15:56 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.2ms) Completed 200 OK in 45ms (Views: 44.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:15:56 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.2ms) Completed 200 OK in 49ms (Views: 45.9ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:15:56 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.1ms) Completed 200 OK in 35ms (Views: 33.5ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (1.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$yDOoXy2vTTJnhr4Dl4ZbfuxIqVYLzIjHU16ricJrd8/K07qMYQ7Km', 'root', '2016-06-25 03:16:16', '2016-06-25 03:16:16', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$hg04X/wVL0f1/b3tvK.E8OeTEkiWinLeeKv5kGF1ffTPsNIoEzCoa', 'dave', '2016-06-25 03:16:16', '2016-06-25 03:16:16', 227792459)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:16:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.7ms) Completed 200 OK in 413ms (Views: 404.1ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:16:18 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:16:18 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:16:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.2ms) Completed 200 OK in 50ms (Views: 50.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:16:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.3ms) Completed 200 OK in 47ms (Views: 43.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:16:18 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.5ms) Completed 200 OK in 34ms (Views: 32.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:16:18 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.9ms) Completed 200 OK in 17ms (Views: 17.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:16:18 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (1.0ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:16:18 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.7ms) Completed 200 OK in 21ms (Views: 18.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$rNqJ1uEarwknvinGkrElk.ejwJB5OjsnRlLKkOP4HjJP.tcJWsOle', 'root', '2016-06-25 03:16:35', '2016-06-25 03:16:35', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$tLS.TdqKQJTabKNIvhvysOksKX82/h0KjLyBVyNlWHWzVS/E54iE2', 'dave', '2016-06-25 03:16:35', '2016-06-25 03:16:35', 227792459)  (1.9ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:16:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.8ms) Completed 200 OK in 407ms (Views: 397.8ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:16:37 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:16:37 -0700 LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:16:37 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.8ms) Completed 200 OK in 43ms (Views: 42.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:16:37 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.7ms) Completed 200 OK in 48ms (Views: 44.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:16:37 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.3ms) Completed 200 OK in 37ms (Views: 35.3ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:16:38 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 17ms (Views: 17.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:16:38 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Completed 500 Internal Server Error in 57143ms (ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:17:35 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Completed 500 Internal Server Error in 1141ms (ActiveRecord: 0.0ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$iExhSS8NZHDEh1EqvwxZXeXY..E7sny0bFzzGaLXg3zW66flS9Qxy', 'root', '2016-06-25 03:17:41', '2016-06-25 03:17:41', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$WW8xEduijfMR0GgMydnCgu8uzYBP/XiOAU7qfRnY/4eHV4/TDiyy2', 'dave', '2016-06-25 03:17:41', '2016-06-25 03:17:41', 227792459)  (1.6ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:17:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.5ms) Completed 200 OK in 331ms (Views: 321.3ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:17:42 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:17:42 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:17:42 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.7ms) Completed 200 OK in 36ms (Views: 35.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:17:42 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.1ms) Completed 200 OK in 39ms (Views: 36.4ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:17:42 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.3ms) Completed 200 OK in 30ms (Views: 28.6ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:17:42 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:17:42 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:17:42 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$b0c2CZjx7CGuaFcs/rwQP.ywx4bRLd7qBPwBsuQrclP1WiMbgYf5C"], ["updated_at", "2016-06-25 03:18:00.721146"], ["id", 227792459]]  (534.0ms) commit transaction  (1.3ms) rollback transaction Completed 500 Internal Server Error in 26163ms (ActiveRecord: 536.6ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$VXO112L9z4OUlJzfC.X3DOjGiPe2RAchXu0JsO1SWG3F1BZ5QurkW', 'root', '2016-06-25 03:18:25', '2016-06-25 03:18:25', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$NAMJoCxvKPWTeaKTxQ0siOgqzH6C/nVAwtEK0frUjxFZAtUtP0Q5m', 'dave', '2016-06-25 03:18:25', '2016-06-25 03:18:25', 227792459)  (1.4ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:18:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 387ms (Views: 377.4ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:18:27 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:18:27 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:18:28 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.1ms) Completed 200 OK in 43ms (Views: 42.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:18:28 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.3ms) Completed 200 OK in 45ms (Views: 42.4ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:18:28 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.5ms) Completed 200 OK in 35ms (Views: 33.4ms | ActiveRecord: 0.2ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:18:28 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:18:28 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:18:28 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$J02ZXPFUAT0s3rHaifvgPOsO1.35VBB7pBaVZBkCOXX8QL1ZJm3PO"], ["updated_at", "2016-06-25 03:18:28.341679"], ["id", 227792459]]  (534.9ms) commit transaction  (1.3ms) rollback transaction Completed 500 Internal Server Error in 547ms (ActiveRecord: 537.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) begin transaction Fixture Delete (1.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$OlRChr8Kl6XdKI8Hx1z5E.3Msfsk6LjF/.QT6bjX6W.Am8WHrTgBu', 'root', '2016-06-25 03:18:57', '2016-06-25 03:18:57', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$xVyx2u3SN.9MZvMrbCFsIOPzMzv//JkZvi6Fb6xGyUtKu9gtxVQHK', 'dave', '2016-06-25 03:18:57', '2016-06-25 03:18:57', 227792459)  (1.8ms) commit transaction  (0.0ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:18:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 391ms (Views: 381.3ms | ActiveRecord: 0.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:18:59 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:18:59 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:18:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.8ms) Completed 200 OK in 44ms (Views: 43.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:18:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.2ms) Completed 200 OK in 48ms (Views: 44.4ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:18:59 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.0ms) Completed 200 OK in 36ms (Views: 34.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:18:59 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:18:59 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:18:59 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$0aUhbeJhQSisGac7c0PYFuG2GQtQvUSrdmJN9ev8e9l.Of9tjhYuC"], ["updated_at", "2016-06-25 03:18:59.708368"], ["id", 227792459]]  (541.9ms) commit transaction  (1.3ms) rollback transaction Completed 500 Internal Server Error in 554ms (ActiveRecord: 544.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.0ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$P0R6RtcSYEIhOJpNS1Kdbu8FsdR6DHxi9Ax9dxeg.5qORKli0Bf36', 'root', '2016-06-25 03:20:00', '2016-06-25 03:20:00', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$yzVi5FKRo.HwdvjioqMJoujZkGSx631gM9B6iU/kn/op.QQya74PC', 'dave', '2016-06-25 03:20:00', '2016-06-25 03:20:00', 227792459)  (2.1ms) commit transaction  (0.2ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:20:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 408ms (Views: 399.6ms | ActiveRecord: 0.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:20:02 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:20:02 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:20:02 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.7ms) Completed 200 OK in 43ms (Views: 42.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:20:02 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.2ms) Completed 200 OK in 47ms (Views: 44.2ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:20:02 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.6ms) Completed 200 OK in 34ms (Views: 32.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:20:03 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:20:03 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:20:03 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$mdibhTd6mPPisfjbQdj6fOeDTyfZdHcvm6WzalKrTLnoPVqUJagWG"], ["updated_at", "2016-06-25 03:20:03.118402"], ["id", 227792459]]  (535.0ms) commit transaction  (1.4ms) rollback transaction Completed 500 Internal Server Error in 548ms (ActiveRecord: 537.2ms)  (0.1ms) rollback transaction  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616015436)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "lunar_shell_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(32) NOT NULL, "password_digest" varchar NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160616015436"]]  (1.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_lunar_shell_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_lunar_shell_users_on_username' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$X.HCKDx0Qw.3NhKq0zb1Z.vW8UlkdufdfsQ42Ir3upw4ps3VVxhDu', 'root', '2016-06-25 03:20:21', '2016-06-25 03:20:21', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$dy.WYHHBn3HtDscpIVBQIOKpUS0q72Hq3ybbl/OSzaHEi2t031.Pe', 'dave', '2016-06-25 03:20:21', '2016-06-25 03:20:21', 227792459)  (1.7ms) commit transaction  (0.1ms) begin transaction ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:20:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.2ms) Completed 200 OK in 439ms (Views: 430.1ms | ActiveRecord: 0.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:20:23 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:20:23 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = ? LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:20:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (26.6ms) Completed 200 OK in 51ms (Views: 50.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:20:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (20.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (33.5ms) Completed 200 OK in 51ms (Views: 47.7ms | ActiveRecord: 0.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:20:24 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.3ms) Completed 200 OK in 47ms (Views: 45.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:20:24 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:20:24 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.9ms) Completed 200 OK in 17ms (Views: 16.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:20:24 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = 227792459) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = ?, "updated_at" = ? WHERE "lunar_shell_users"."id" = ? [["password_digest", "$2a$04$c7kEknpqou6MP/BOzJlljuXjancIdZa9e52.4fA4duzJ4NLohCoru"], ["updated_at", "2016-06-25 03:20:24.408257"], ["id", 227792459]]  (555.0ms) commit transaction  (1.2ms) rollback transaction Completed 500 Internal Server Error in 568ms (ActiveRecord: 557.1ms)  (0.1ms) rollback transaction  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616015436)  (0.1ms) BEGIN  (11.3ms) CREATE TABLE "lunar_shell_users" ("id" serial primary key, "username" character varying(32) NOT NULL, "password_digest" character varying NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (6.7ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160616015436"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'lunar_shell_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (2.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$XsvAdRthOEIBihkUEPa6/OCkRYIugMnDbl4eiF/ksMlmY6YYOFam2', 'root', '2016-06-25 03:24:47', '2016-06-25 03:24:47', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$IwbMwPHWWrhIS5fAUFANmuDZkNVoUKJ/Cg7R6PXqC69b2ArbDrzNi', 'dave', '2016-06-25 03:24:47', '2016-06-25 03:24:47', 227792459)  (1.4ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:24:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 491ms (Views: 481.9ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:24:49 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:24:49 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:24:49 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (30.7ms) Completed 200 OK in 54ms (Views: 53.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:24:49 -0700 Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:49 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (2.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 2.1ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:49 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.8ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:49 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.5ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:49 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$78oCzvUHzjHQUnyrvGnpluiq.8jdktPpT5ab6AhxSptrWnP4rks6.', 'root', '2016-06-25 03:24:57', '2016-06-25 03:24:57', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$rSCDbFmZL3lft9AVFAac0e3cwGq8tjB5wFbTkLoXDe9aFhXcT8XfK', 'dave', '2016-06-25 03:24:57', '2016-06-25 03:24:57', 227792459)  (1.6ms) COMMIT  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.3ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:24:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.0ms) Completed 200 OK in 479ms (Views: 469.8ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:24:59 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:24:59 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:24:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.9ms) Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.5ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.6ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.4ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.6ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:24:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 'dave' OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$u.U4xB0pzQ0r0aLj9yXVheXCdAewVmKSCEfKkcwudX.C9dmUfB042', 'root', '2016-06-25 03:27:42', '2016-06-25 03:27:42', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$sKWmkFjgkPogFKiknJI8cO68wKRFIOr60IiwwmVSievld99a1Pb1u', 'dave', '2016-06-25 03:27:42', '2016-06-25 03:27:42', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:27:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (16.2ms) Completed 200 OK in 516ms (Views: 504.2ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:27:44 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:27:44 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:27:44 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.8ms) Completed 200 OK in 50ms (Views: 49.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:27:44 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (31.3ms) Completed 200 OK in 51ms (Views: 47.0ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:27:44 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.5ms) Completed 200 OK in 43ms (Views: 40.8ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:27:44 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 19ms (Views: 18.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:27:44 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (1.3ms) Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:27:45 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (1.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$2Ens8vo9e7G8VfQk.PVXyOItj2u.aQIlN7sWryLCkvaU1.vhfvuge"], ["updated_at", "2016-06-25 03:27:45.030505"], ["id", 227792459]]  (1.7ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.4ms) Completed 200 OK in 34ms (Views: 15.8ms | ActiveRecord: 7.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$G.lmOUboL18HZ6jcM0EYqOcBePCiOiJSdzBIZ1Htzb2IuaE1Xj2vW', 'root', '2016-06-25 03:28:08', '2016-06-25 03:28:08', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$SMTgrXFGpMhvsUj.0DgJoe9B8/OCFQ/vHDExnvNbVFKB3JSzhs/ym', 'dave', '2016-06-25 03:28:08', '2016-06-25 03:28:08', 227792459)  (1.5ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:28:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.4ms) Completed 200 OK in 480ms (Views: 466.8ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:28:10 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:28:10 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:28:11 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.2ms) Completed 200 OK in 45ms (Views: 44.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:28:11 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.8ms) Completed 200 OK in 48ms (Views: 44.3ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:28:11 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.4ms) Completed 200 OK in 46ms (Views: 43.4ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:28:11 -0700 Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:28:11 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:28:11 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (115.2ms) DROP DATABASE IF EXISTS "lunar_shell_test"  (235.9ms) CREATE DATABASE "lunar_shell_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616015436)  (0.2ms) BEGIN  (3.4ms) CREATE TABLE "lunar_shell_users" ("id" serial primary key, "username" character varying(32) NOT NULL, "password_digest" character varying NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.7ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160616015436"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'lunar_shell_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$97Tfn3B5P5rHznX5k.scUuaLj0WYL4QJQHTGqVJ7x7RCLXgECBwp2', 'root', '2016-06-25 03:28:43', '2016-06-25 03:28:43', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ZSdCP/Ri6.HvcB2wDg/Gs.WOxCGO88Avy5UgkLMAvYLLyQ7TqTj.C', 'dave', '2016-06-25 03:28:43', '2016-06-25 03:28:43', 227792459)  (1.6ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:28:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (7.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (10.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (16.6ms) Completed 200 OK in 464ms (Views: 454.3ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:28:44 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:28:44 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:28:45 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.6ms) Completed 200 OK in 42ms (Views: 41.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:28:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (2.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (31.0ms) Completed 200 OK in 56ms (Views: 49.6ms | ActiveRecord: 2.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:28:46 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.4ms) Completed 200 OK in 37ms (Views: 35.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:28:46 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.0ms) Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:28:46 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 16.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:28:46 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$qqmAVyQW5IdzAcL7dgC9kOfy9izo2IYB75Ahz2DZU4/77iZdAuskW"], ["updated_at", "2016-06-25 03:28:46.329117"], ["id", 227792459]]  (1.3ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.9ms) Completed 200 OK in 33ms (Views: 17.4ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$TRQcB5jYzpNsONds4tp7YuXyLdAweXeEyJ9FrB/71k/UD9EQM6HV2', 'root', '2016-06-25 03:28:59', '2016-06-25 03:28:59', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$e4LTpbL84opSyKGA7pKTl.A9oeQE9qPdFGww9R/2A9K6Dc0sXN2SO', 'dave', '2016-06-25 03:28:59', '2016-06-25 03:28:59', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:29:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (2.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (7.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (10.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (16.7ms) Completed 200 OK in 500ms (Views: 488.5ms | ActiveRecord: 2.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:29:01 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:29:01 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:29:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.0ms) Completed 200 OK in 46ms (Views: 45.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:29:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.3ms) Completed 200 OK in 46ms (Views: 42.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:29:01 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.9ms) Completed 200 OK in 42ms (Views: 39.0ms | ActiveRecord: 1.1ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:29:01 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:29:01 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (8.7ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$V.FigtEMpLmMiqaZymvdRONroGfPxGKIcd3goLS219VSUjl6/g81W', 'root', '2016-06-25 03:29:18', '2016-06-25 03:29:18', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$UcX9c.ijQ34CC4EX2IboWOFJL7noAW5q1cnv2f/qiLN.5kY5dLlFW', 'dave', '2016-06-25 03:29:18', '2016-06-25 03:29:18', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:29:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.5ms) Completed 200 OK in 485ms (Views: 474.6ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:29:20 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:29:20 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:29:20 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.3ms) Completed 200 OK in 47ms (Views: 46.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:29:20 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.3ms) Completed 200 OK in 51ms (Views: 46.7ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:29:20 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.4ms) Completed 200 OK in 36ms (Views: 34.7ms | ActiveRecord: 0.6ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:29:21 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 21ms (Views: 20.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$AJ04WeWze00gJH9vockJvOCRlQMyxQvks5S5QqroSubDhrXwEifOq', 'root', '2016-06-25 03:32:34', '2016-06-25 03:32:34', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$DvfTIqwrsutbpxElxBnMKu1wQz26v86CTi2e.0s7BN9Yg.LOsjET2', 'dave', '2016-06-25 03:32:34', '2016-06-25 03:32:34', 227792459)  (2.0ms) COMMIT  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:32:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 408ms (Views: 399.5ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:32:35 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:32:35 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:35 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.9ms) Completed 200 OK in 36ms (Views: 36.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:32:35 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.9ms) Completed 200 OK in 40ms (Views: 36.0ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:35 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.3ms) Completed 200 OK in 31ms (Views: 29.6ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:32:35 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:32:35 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:32:35 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.3ms) Completed 200 OK in 19ms (Views: 16.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:35 -0700  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$GQXC06kEYBARXC7eirLvLOmbSqH37HUDcJPh7vOWR.IDoOyLrPgmW', 'root', '2016-06-25 03:32:42', '2016-06-25 03:32:42', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$2zdyFPm8ycHQC9pIrKqdeecxuSyS8TVpnm3VmE2ZVq3kO51ZOS3O2', 'dave', '2016-06-25 03:32:42', '2016-06-25 03:32:42', 227792459)  (1.0ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 396ms (Views: 385.4ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.4ms) Completed 200 OK in 36ms (Views: 36.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.8ms) Completed 200 OK in 41ms (Views: 37.5ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.4ms) Completed 200 OK in 31ms (Views: 29.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:32:43 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 18ms (Views: 14.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:43 -0700  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.8ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$dW9gB2mWkUpabM.h59bn1.wuyjJDofLGpCQKLSHAK6Mk063hxwcPO', 'root', '2016-06-25 03:32:51', '2016-06-25 03:32:51', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$RWoXW9CaRH/tdPYKPizA7.f3knT4A9EhRTy/5AjSFyYr1GgO7Uh/y', 'dave', '2016-06-25 03:32:51', '2016-06-25 03:32:51', 227792459)  (1.4ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:32:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.4ms) Completed 200 OK in 394ms (Views: 385.9ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:32:53 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:32:53 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:53 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.5ms) Completed 200 OK in 36ms (Views: 36.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:32:53 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.9ms) Completed 200 OK in 43ms (Views: 39.2ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:53 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.1ms) Completed 200 OK in 31ms (Views: 28.8ms | ActiveRecord: 0.7ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:32:53 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:32:53 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 14.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:32:53 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 17ms (Views: 14.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:32:53 -0700  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$C9S6q6AMeVKtQ4kdsXWwN.46pZPpQOThCPYXrIwk.JA/tclTUH3EO', 'root', '2016-06-25 03:33:02', '2016-06-25 03:33:02', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$WUWSfGPQ6rosFqp6DQmG/uPswVeFxZmGMjv10G7jRY5NX.mt.qbKy', 'dave', '2016-06-25 03:33:02', '2016-06-25 03:33:02', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:33:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 395ms (Views: 385.9ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:33:03 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:33:03 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:03 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.4ms) Completed 200 OK in 39ms (Views: 38.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:33:03 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.9ms) Completed 200 OK in 40ms (Views: 36.4ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:03 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.3ms) Completed 200 OK in 31ms (Views: 29.2ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:33:03 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:33:03 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:33:03 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.3ms) Completed 200 OK in 17ms (Views: 13.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:03 -0700  (0.3ms) ROLLBACK  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616015436)  (0.1ms) BEGIN  (3.1ms) CREATE TABLE "lunar_shell_users" ("id" serial primary key, "username" character varying(32) NOT NULL, "password_digest" character varying NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160616015436"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'lunar_shell_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$JiVfLlzg33C9z1mYgk0crOUFOfx574.fMQJSZ/H0l4kQf49EDe0ce', 'root', '2016-06-25 03:33:23', '2016-06-25 03:33:23', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$w/Kkf/nwUN3PvI3G6qftT.2M8itq.w6dq6MQ9AGnkEZvq2qVCurrW', 'dave', '2016-06-25 03:33:23', '2016-06-25 03:33:23', 227792459)  (1.2ms) COMMIT  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:33:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.4ms) Completed 200 OK in 395ms (Views: 386.4ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:33:25 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:33:25 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:25 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.4ms) Completed 200 OK in 39ms (Views: 38.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:33:25 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.1ms) Completed 200 OK in 42ms (Views: 38.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:25 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.7ms) Completed 200 OK in 33ms (Views: 30.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:33:25 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:33:25 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:33:25 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.3ms) Completed 200 OK in 18ms (Views: 14.7ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:25 -0700  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$2KI1vZVrV1Ny0kmHHBcQPOi5XpzMtpPiB4Tfq9hLT1gkvHHRtiUsy', 'root', '2016-06-25 03:33:36', '2016-06-25 03:33:36', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$.2p6dS8io1D0FLpZL.8C9.MmgF60eKmnRhywU13GOAkTGXlB0Jbgu', 'dave', '2016-06-25 03:33:36', '2016-06-25 03:33:36', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:33:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 387ms (Views: 376.1ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:33:37 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:33:37 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:37 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.9ms) Completed 200 OK in 37ms (Views: 36.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$e11NonL3BI0BchEZ8i2WVeNU3YV2ua2G1uRSWGnj/KLy5gyB91lH2', 'root', '2016-06-25 03:33:46', '2016-06-25 03:33:46', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$/V9bpuTL5mR.eCI7gH5itezAoR6Qq48h1imXBA20fYVwuift3ohFq', 'dave', '2016-06-25 03:33:46', '2016-06-25 03:33:46', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:33:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.3ms) Completed 200 OK in 397ms (Views: 388.0ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:33:48 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:33:48 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:48 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.6ms) Completed 200 OK in 41ms (Views: 41.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:33:48 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.6ms) Completed 200 OK in 41ms (Views: 37.4ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:33:48 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.9ms) Completed 200 OK in 32ms (Views: 30.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:33:48 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$kH6YMJ.GeIlnCjaxlICGx.9Ndcg5wBUiGyB7gH/TAn7xbvQRUuSZ2', 'root', '2016-06-25 03:34:07', '2016-06-25 03:34:07', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$.lpdqkZSlKqx.1hFwg7UBeM4wqxdkxzS08Z4s4eezWXRoa1WjKf5e', 'dave', '2016-06-25 03:34:07', '2016-06-25 03:34:07', 227792459)  (1.3ms) COMMIT  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:34:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.4ms) Completed 200 OK in 412ms (Views: 402.9ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:34:09 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:34:09 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$7TNPEZGgsHl/27CIF0yyy.BN4qeHvSEBnbCw3H1996liZV848TQLa', 'root', '2016-06-25 03:35:52', '2016-06-25 03:35:52', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$FIL3Ht9ccJ.4xmXcQulPXO5UURX8S880XrdHEPniqQxGGTTtnUOEG', 'dave', '2016-06-25 03:35:52', '2016-06-25 03:35:52', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:35:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 392ms (Views: 383.2ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:35:53 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:35:53 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$HrjTv/zFCj3/aBDGrLZdveeJqXufuoC5diFdeBMY/sYreedfe1Q/W', 'root', '2016-06-25 03:38:23', '2016-06-25 03:38:23', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$DpGh9O7X/1Il1I1LbsNBs.Q2WpWvP9uIyfHGtouA7gV27LLD.xSX.', 'dave', '2016-06-25 03:38:23', '2016-06-25 03:38:23', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:38:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.1ms) Completed 200 OK in 546ms (Views: 534.3ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:38:25 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:38:25 -0700 LunarShell::User Load (1.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$mfyc/MwMhMzgs/joH4vAU.wWiKWz4oMYExnRi7Ngqf4iK8gimSu5e', 'root', '2016-06-25 03:38:51', '2016-06-25 03:38:51', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$WHwcyr7tJSs3X0ZSgGWY/OBcg/7RM2ARzW4x8LRFVa.vCUO9WDuCy', 'dave', '2016-06-25 03:38:51', '2016-06-25 03:38:51', 227792459)  (61.6ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.3ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:38:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (9.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (18.8ms) Completed 200 OK in 512ms (Views: 498.8ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:38:54 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:38:54 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$kQfwgr2wwWnin5WMzVjpHerWBJKkyrY/APE6vNx.jqsV3tY6dU9MK', 'root', '2016-06-25 03:39:16', '2016-06-25 03:39:16', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$zvhAdVc3rtQt4HEGN2c6MOF0RO99VaWjt.j0AEHsLkiXLoPaNW9re', 'dave', '2016-06-25 03:39:16', '2016-06-25 03:39:16', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:39:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.5ms) Completed 200 OK in 482ms (Views: 469.8ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:39:18 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:39:18 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (2.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$uhTYzBSMZtUo.eBfnegfgOhZRspHgN.gFVkw8jF3CylBdyp7u9da6', 'root', '2016-06-25 03:39:49', '2016-06-25 03:39:49', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$G5DzYLED6EL/LqdFRIz7Y.Idr0PJPIu6O5QUWikl8MEuZzG8GHHyG', 'dave', '2016-06-25 03:39:49', '2016-06-25 03:39:49', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:39:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.2ms) Completed 200 OK in 580ms (Views: 570.6ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:39:51 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:39:51 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:39:51 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.2ms) Completed 200 OK in 47ms (Views: 47.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:39:51 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.2ms) Completed 200 OK in 48ms (Views: 44.4ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:39:51 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.0ms) Completed 200 OK in 38ms (Views: 35.6ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:39:51 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:39:51 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:39:51 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$vbQuRNNPp9FVaZDbsw.UEummOQuz/aD.wr.m1x3kvenKBAIB0vQBy"], ["updated_at", "2016-06-25 03:39:51.868752"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.2ms) Completed 200 OK in 32ms (Views: 16.4ms | ActiveRecord: 5.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Dp.vYC1K4GAe9C6l4IsNBuqwafClkFQ3hNvZ/DXHeLIZvc6f24Zz6', 'root', '2016-06-25 03:41:51', '2016-06-25 03:41:51', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$5iSmp1hEKA2IbWKmiHojN.BlsShKwIH.BW5AAQYCo9rt0MWgMqObe', 'dave', '2016-06-25 03:41:51', '2016-06-25 03:41:51', 227792459)  (1.5ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:41:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.7ms) Completed 200 OK in 387ms (Views: 378.3ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:41:52 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:41:52 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$eWtWIpCFqR/sbty5VGqzhu9sgEFkIiuOtqqVFARQevaX0Izol9znG', 'root', '2016-06-25 03:42:06', '2016-06-25 03:42:06', 135138680) Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$2B4uKMDNVe4P3NUbNZ2lE.Mpd1i6oAucJygbzUKjbQAbvqgp1hMAq', 'dave', '2016-06-25 03:42:06', '2016-06-25 03:42:06', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:42:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (17.8ms) Completed 200 OK in 498ms (Views: 489.2ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:42:08 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:42:08 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$XpdHggYhgGsWCoaTO0uMBuUn9Nhamwk3STzGUaYFn7k0.NDw8egQ6', 'root', '2016-06-25 03:42:23', '2016-06-25 03:42:23', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$og8o3mZVB3y7W7Q38uc0LORiDRmFcCC0qwFjAQ2qTKBwShzpmlWs.', 'dave', '2016-06-25 03:42:23', '2016-06-25 03:42:23', 227792459)  (1.4ms) COMMIT  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:42:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.8ms) Completed 200 OK in 393ms (Views: 385.2ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:42:25 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:42:25 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK  (117.0ms) DROP DATABASE IF EXISTS "lunar_shell_test"  (241.6ms) CREATE DATABASE "lunar_shell_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.5ms) CREATE TABLE "lunar_shell_users" ("id" serial primary key, "username" character varying(32) NOT NULL, "password_digest" character varying NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" USING btree ("username")  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160616015436') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.8ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$77shvTOD/Nyak0ZaLPpIJO4YCxOTf/icyRsivd26VE7dtdnZTYs8q', 'root', '2016-06-25 03:46:54', '2016-06-25 03:46:54', 135138680) Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Pgozrdmzmx4Q7oTg0/5q4uijMMZwzKaNnONG1U2U.F8QHTEo6.V62', 'dave', '2016-06-25 03:46:54', '2016-06-25 03:46:54', 227792459)  (1.4ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:46:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.3ms) Completed 200 OK in 432ms (Views: 423.1ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:46:55 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:46:55 -0700  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:46:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$maYLW617MRQCte1esyT3h.I4esTpKuCnF8GMHNEnuwoS2sjb1ALnK', 'root', '2016-06-25 03:47:21', '2016-06-25 03:47:21', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$CB8ilB5FCNgp3gqBsf.Xvumk9VgnikbVincuk9y4hxlYH.oh6gui.', 'dave', '2016-06-25 03:47:21', '2016-06-25 03:47:21', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:47:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.4ms) Completed 200 OK in 388ms (Views: 379.2ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:47:22 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:47:22 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:47:23 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (25.1ms) Completed 200 OK in 47ms (Views: 44.8ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:47:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$sSfabUSmBlFNwQ0CnQA5K.nN/AD5XPImpnvc2cXDs9Dm6o.Q7/yrG', 'root', '2016-06-25 03:47:51', '2016-06-25 03:47:51', 135138680) Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$6w9YSPDRg92JuSXR7.NxjuwNzanQXY.xoQnuHWCewt3q4XY2yCkQ2', 'dave', '2016-06-25 03:47:51', '2016-06-25 03:47:51', 227792459)  (1.6ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:47:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.9ms) Completed 200 OK in 400ms (Views: 391.8ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:47:52 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:47:52 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:47:53 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.1ms) Completed 200 OK in 37ms (Views: 37.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:47:53 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.8ms) Completed 200 OK in 40ms (Views: 37.0ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:47:53 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.3ms) Completed 200 OK in 30ms (Views: 28.7ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:47:53 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:47:53 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:47:53 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$h6otuJoAfFBv3k1gIdXYneQ5QPExJ0XsmJDf.liVW4UINsWnIIKWa"], ["updated_at", "2016-06-25 03:47:53.428717"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 27ms (Views: 13.2ms | ActiveRecord: 5.6ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$C3G6yipJNjU0YleJkuY.B.c78BLBlhIci00SGiO7PCWhADj65a6HK', 'root', '2016-06-25 03:48:02', '2016-06-25 03:48:02', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$xBHgraz.CpfxqRZRPz.rt.uTSnc4muIPm7XJgzqjJhngE3GySvDVm', 'dave', '2016-06-25 03:48:02', '2016-06-25 03:48:02', 227792459)  (1.3ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:48:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.0ms) Completed 200 OK in 392ms (Views: 381.6ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:48:04 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:48:04 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:48:04 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (24.5ms) Completed 200 OK in 45ms (Views: 43.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:48:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (2.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.3ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 2.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$mQbGAZR7xxmgv75rDK.GeOZQc8Gcje0tJKPyjvIVO2ra3d6CdQnDm', 'root', '2016-06-25 03:49:36', '2016-06-25 03:49:36', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$yEW6KHLPvA96f5vv2CUSqOwfrfLyAeGVZ7sv2Ffjavf0hR5o.6AtO', 'dave', '2016-06-25 03:49:36', '2016-06-25 03:49:36', 227792459)  (1.1ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:49:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 388ms (Views: 380.4ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:49:37 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:49:37 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:49:37 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (25.5ms) Completed 200 OK in 47ms (Views: 44.7ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:49:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$sqpFawY9bmfos81DjIazluPROwdgNW8q8Ogfg8T/sh/Ip.sIZvY1m', 'root', '2016-06-25 03:50:00', '2016-06-25 03:50:00', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$kq8js4XVinnCFfriibcA..jGSHdLu7t8/OF96l9rLB21YD1m5gjkm', 'dave', '2016-06-25 03:50:00', '2016-06-25 03:50:00', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:50:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.2ms) Completed 200 OK in 380ms (Views: 371.0ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:50:02 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:50:02 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:50:02 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (24.6ms) Completed 200 OK in 45ms (Views: 43.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:50:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$z2ZEv.G9QkIWz.Kk41mZAOpiaNi2oMhlpFYUoSo0Hdag5hKdUK8He', 'root', '2016-06-25 03:50:15', '2016-06-25 03:50:15', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Q4hB.xaf25UiVWPpw2u0GumEfR8qPWM7JlqgMVfHf/4ViH.BorgMK', 'dave', '2016-06-25 03:50:15', '2016-06-25 03:50:15', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:50:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 392ms (Views: 384.1ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:50:17 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:50:17 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:50:17 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (24.4ms) Completed 200 OK in 45ms (Views: 43.5ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:50:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$atSTMnqKhyLLBShdw8WXqu/MAU3A1YFKW7qTcu1d84ztjkC4Rea2O', 'root', '2016-06-25 03:50:29', '2016-06-25 03:50:29', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$UYSQ/MaQf6yf9VOQV1S8/.wGHseEs3feJ6FvC2gIsCF.OWHGycOci', 'dave', '2016-06-25 03:50:29', '2016-06-25 03:50:29', 227792459)  (1.9ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:50:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.2ms) Completed 200 OK in 390ms (Views: 381.6ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.7ms) Completed 200 OK in 39ms (Views: 39.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.7ms) Completed 200 OK in 42ms (Views: 38.1ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.2ms) Completed 200 OK in 30ms (Views: 28.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$7bZLgWA.yU7bt1eKNYhjkeDqckpkofOlYjB4fSBwdLTW/v/Mqd8i6"], ["updated_at", "2016-06-25 03:50:31.749620"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 27ms (Views: 13.1ms | ActiveRecord: 5.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0002_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:50:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$WK2ul9zSOO8PlOfwnTM1mer4VIp.wejWmlRR5gq7Swy2Dba1hudIC', 'root', '2016-06-25 03:50:49', '2016-06-25 03:50:49', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$OmkrDWfXiX37guEMQlBOcegv3pTpetmK.0GiYE/m6ywjfS1UR2REm', 'dave', '2016-06-25 03:50:49', '2016-06-25 03:50:49', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:50:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 392ms (Views: 383.5ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:50:50 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:50:50 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:50:51 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.6ms) Completed 200 OK in 36ms (Views: 35.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:50:51 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.5ms) Completed 200 OK in 42ms (Views: 38.4ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:50:51 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.9ms) Completed 200 OK in 34ms (Views: 32.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:50:51 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:50:51 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:50:51 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$RU03zGxQa2nr4hHB.s11Ve6isRTeUDjR3DFL7hj01NeJ.UnQB5w7W"], ["updated_at", "2016-06-25 03:50:51.494502"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 27ms (Views: 13.1ms | ActiveRecord: 5.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$uNAV8LvNznY/aPSq1IypzuIiukFH19Hq1B.AeYGSVcpn51ivl4yyG', 'root', '2016-06-25 03:51:00', '2016-06-25 03:51:00', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Uyii8lfSnME7K.OFSKNpmOk/NVelF8QXY743lSSxbpXJ4qlbxQLC6', 'dave', '2016-06-25 03:51:00', '2016-06-25 03:51:00', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:51:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.4ms) Completed 200 OK in 377ms (Views: 368.6ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.7ms) Completed 200 OK in 36ms (Views: 36.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (19.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (32.3ms) Completed 200 OK in 50ms (Views: 46.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.5ms) Completed 200 OK in 46ms (Views: 42.0ms | ActiveRecord: 1.0ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.0ms) Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (1.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$ZJKcarCDpJjC1jQLO.BgZeA03sM29.IeU04d1ir6IgBBjVQ5GB78K"], ["updated_at", "2016-06-25 03:51:02.678419"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 30ms (Views: 14.0ms | ActiveRecord: 6.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0002_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:51:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$8eo8YHXzhVYgzkHiSADvZuYz61Bufsdfl.dhQY6AHuaygTO5QVmHG', 'root', '2016-06-25 03:51:17', '2016-06-25 03:51:17', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$LBPzhUeng98EFbS1ngaeEeQB33RpdK4W1VtVZYtfsM.qMUJ8B8TvC', 'dave', '2016-06-25 03:51:17', '2016-06-25 03:51:17', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:51:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 380ms (Views: 371.3ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (16.9ms) Completed 200 OK in 35ms (Views: 35.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.1ms) Completed 200 OK in 40ms (Views: 36.2ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.2ms) Completed 200 OK in 31ms (Views: 29.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$GaYlBh9yWGgpTrqO4nsvQ.4ixQaoULQ8bSaIvakANOCh4bXjb5hRq"], ["updated_at", "2016-06-25 03:51:19.547484"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 28ms (Views: 13.4ms | ActiveRecord: 5.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0002_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:51:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Yirty4ARZxKVvTNdtyLmEOXjxH.mMH4/lsv2m9XzcwBfxfPH82slK', 'root', '2016-06-25 03:51:28', '2016-06-25 03:51:28', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$2WOEwNDQMuhF21fcOydL6OKHjHwf.SESbbKENkz6cRw3IPQNMr4FC', 'dave', '2016-06-25 03:51:28', '2016-06-25 03:51:28', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0001_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:51:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 382ms (Views: 373.3ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:51:29 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:51:29 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:51:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.0ms) Completed 200 OK in 37ms (Views: 36.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:51:30 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.6ms) Completed 200 OK in 39ms (Views: 36.0ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:51:30 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.7ms) Completed 200 OK in 46ms (Views: 43.8ms | ActiveRecord: 0.6ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:51:30 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:51:30 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.9ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:51:30 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$vaYLMGRJa5EUBVmMeBX3H.uidqtomBVcauwj3FzgWpwqtpUfzjZNW"], ["updated_at", "2016-06-25 03:51:30.569324"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.5ms) Completed 200 OK in 29ms (Views: 16.0ms | ActiveRecord: 4.9ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Y4OE0A7QoY1zLn.G.vaX.uvPUBYtgrrKuVN8XUTfY1.nEgwJe.2g2', 'root', '2016-06-25 03:51:50', '2016-06-25 03:51:50', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$WpWvLpVKSEMBtH4Ofyg7sOcpMsFwVNIRDLYX/2oXa4rrIGiglPjJa', 'dave', '2016-06-25 03:51:50', '2016-06-25 03:51:50', 227792459)  (1.3ms) COMMIT  (0.9ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ wtf: test_0001_logged in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 20:51:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.7ms) Completed 200 OK in 381ms (Views: 372.2ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:51:52 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:51:52 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:51:52 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.4ms) Completed 200 OK in 39ms (Views: 38.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:51:52 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.8ms) Completed 200 OK in 39ms (Views: 35.9ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:51:52 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.3ms) Completed 200 OK in 30ms (Views: 28.6ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:51:53 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:51:53 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:51:53 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$goyikEKSMhxuJ.xMUicTo.Xf/whkSpsKnY75VMogOeYRgbwlHLrCq"], ["updated_at", "2016-06-25 03:51:53.093134"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 29ms (Views: 15.0ms | ActiveRecord: 5.7ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$lHJMDd1Ql5UgJN9l6jmH1.m5sXgjhnOPlVQZhZdczACBOx5lqYaRS', 'root', '2016-06-25 03:51:53', '2016-06-25 03:51:53', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$HfOBkfvwG4mQUsihGYi6d.xUgni240Oa/a2Ni6PbbQSn97fCROYWC', 'dave', '2016-06-25 03:51:53', '2016-06-25 03:51:53', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- shit: test_0001_not logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:51:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.9ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$v5m35JMS0ob.o.3ybl1/bOrWKAIfFeMyzUl3KHXdvrJdBAyk/p/2a', 'root', '2016-06-25 03:52:18', '2016-06-25 03:52:18', 135138680) Fixture Insert (0.7ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$kuPHZo5CywLWWhzmAyHoF.2xtT4I4A6S/9Q4Ex3wMj8egDs/9Qf8a', 'dave', '2016-06-25 03:52:18', '2016-06-25 03:52:18', 227792459)  (0.7ms) COMMIT  (0.4ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ wtf: test_0001_logged in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.0ms) Completed 200 OK in 393ms (Views: 383.9ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.5ms) Completed 200 OK in 36ms (Views: 36.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.8ms) Completed 200 OK in 39ms (Views: 36.0ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.5ms) Completed 200 OK in 31ms (Views: 29.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:52:20 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$GWaE3dIZP0ydKXoyt6273uynovuNrOggD5nN4XntnS0WrpFyEly/y"], ["updated_at", "2016-06-25 03:52:20.970078"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 28ms (Views: 13.4ms | ActiveRecord: 5.4ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3laPM6cd1sbU6DiqwElz1ugrgRyAhs1i.dGuECp/31PhQXk1iCoQO', 'root', '2016-06-25 03:52:21', '2016-06-25 03:52:21', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$8Z.mMEq72mJ/T4HxhfJSV.THd9Po.Y/FLBdWjHa4CpqNbyfzrY7sa', 'dave', '2016-06-25 03:52:21', '2016-06-25 03:52:21', 227792459)  (1.0ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- shit: test_0001_not logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:52:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$PzPU5ywl9S5WwotKLUihNegX7EcBo0AdRaE/nLEun2gxq/NDfqC72', 'root', '2016-06-25 03:52:47', '2016-06-25 03:52:47', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$1Qa02CqSf/R17r8Eafzds.bzsaXRXVmJK16cHIhl0IsU6.0VFdvmK', 'dave', '2016-06-25 03:52:47', '2016-06-25 03:52:47', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:52:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 389ms (Views: 380.4ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.5ms) Completed 200 OK in 36ms (Views: 36.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (23.3ms) Completed 200 OK in 38ms (Views: 35.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (13.5ms) Completed 200 OK in 30ms (Views: 28.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$MQ0SWgbBG0EGTg1jbvwouePi8n6L0RRyQvsq.g04dgIyX0MPWmKju"], ["updated_at", "2016-06-25 03:52:49.563915"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 27ms (Views: 13.3ms | ActiveRecord: 5.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.4ms) Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:52:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (1.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hZA1pOspuwAzf0Dub2qhnOp0jtkOF6qr9Dg./WFR9mJ5sgZQ0Smkq', 'root', '2016-06-25 03:53:00', '2016-06-25 03:53:00', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$LZQJLIplrmhi8tbawM1GFexbL1XzLuwflkG0Z9.jvx3Z/Pc5yuPMq', 'dave', '2016-06-25 03:53:00', '2016-06-25 03:53:00', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:53:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.2ms) Completed 200 OK in 382ms (Views: 374.0ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:53:02 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:53:02 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:53:02 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (24.5ms) Completed 200 OK in 45ms (Views: 43.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:53:02 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$pQb462WRfWl3kwUecUu6.OneQHxC3hZ9rzOwEQ6ib.Fry.pvvAy1.', 'root', '2016-06-25 03:54:18', '2016-06-25 03:54:18', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$rMbSxgiDgDsrNRlXzHhEyOE8SYfxmhDDxiclfda0c.ZHbXqjQWpZG', 'dave', '2016-06-25 03:54:18', '2016-06-25 03:54:18', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------- ClearTest: test_0001_clears history ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.6ms) Completed 200 OK in 395ms (Views: 386.0ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (26.2ms) Completed 200 OK in 44ms (Views: 42.8ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$LsOGb4s0RgqOvcvjvDczBuHSUfs4zUtyKblMb8HhdjmBrnXhN.qhm', 'root', '2016-06-25 03:54:19', '2016-06-25 03:54:19', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Y19LYPkzLQi0o8L.EC0W9OtJRvDzxykp6W8yTz5zqNu/dI5FOpccy', 'dave', '2016-06-25 03:54:19', '2016-06-25 03:54:19', 227792459)  (1.3ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------- NoCommandTest: test_0001_nothing sent ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------- QuitTest: test_log_out ---------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------- QuitTest: test_not_logged_in_response ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$8jSNwfMHMq5i/AZgUlkX6eaeyxSRj3MJGVZk0FaM9P3OaQwlhoqwi', 'root', '2016-06-25 03:54:34', '2016-06-25 03:54:34', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$iJTmvOkyimmgQZMRnKwPMe356ooECouxmblCbGNu25KRJbB/nQyGi', 'dave', '2016-06-25 03:54:34', '2016-06-25 03:54:34', 227792459)  (1.3ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------- NoCommandTest: test_0001_nothing sent ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 389ms (Views: 377.7ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (26.7ms) Completed 200 OK in 44ms (Views: 43.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$7CKVnsMr6EhwOmvk.tkUH.nG5qiaCFnvFTQC3XMsRRD4vWizaMVQy', 'root', '2016-06-25 03:54:36', '2016-06-25 03:54:36', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$2OvPbIZCLiFx0aR0DxkN.ueu2/axCz/N1.RIIopzcKmrbcebMJ3FC', 'dave', '2016-06-25 03:54:36', '2016-06-25 03:54:36', 227792459)  (1.0ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- ClearTest: test_0001_clears history ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.2ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ SuTest: test_0001_log in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ SuTest: test_0002_can substitue user ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------ QuitTest: test_0001_not logged in response ------------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- QuitTest: test_0002_log out --------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:54:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ari4R8I3TJUy.SUuNYFhjO.VeJdVDNwHqLIhCErhQ4acVsWSJxm2q', 'root', '2016-06-25 03:59:57', '2016-06-25 03:59:57', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$vlpAl/Wpb5gaHNmzhRIQzO5c5k8hDdYRoiJmfGQ5GcCxw8tG7/VI6', 'dave', '2016-06-25 03:59:57', '2016-06-25 03:59:57', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------- NoCommandTest: test_0001_nothing sent ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 389ms (Views: 379.7ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (26.4ms) Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$u/bnt8PhHxLl8hwH12IdVuN6DbZFavCOAI7u.1HoFAnCGT8/G.Hoq', 'root', '2016-06-25 03:59:58', '2016-06-25 03:59:58', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$bLvuHnohOi93nlszEUDsQuFhYjl5Q/k9EXYLy8s9Wbpjp1j9e4uAG', 'dave', '2016-06-25 03:59:58', '2016-06-25 03:59:58', 227792459)  (1.3ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- ClearTest: test_0001_clears history ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ SuTest: test_0002_can substitue user ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ SuTest: test_0001_log in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 20:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- QuitTest: test_0002_log out ---------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------ QuitTest: test_0001_not logged in response ------------------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$lPyNHLoBVCFGYs80kEVpou0if8cWY56yK8uZq3L76pETmD5g8umya', 'root', '2016-06-25 04:00:31', '2016-06-25 04:00:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$mY1aH0ely8BJAABsb48XzO7HzAyLjvZSG2I7bQG98n6HDCVkZixOO', 'dave', '2016-06-25 04:00:31', '2016-06-25 04:00:31', 227792459)  (1.7ms) COMMIT  (0.4ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------ SuTest: test_0001_log in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 387ms (Views: 378.2ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:00:33 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:00:33 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.5ms) Completed 200 OK in 37ms (Views: 36.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.7ms) Completed 200 OK in 43ms (Views: 39.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.9ms) Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ SuTest: test_0002_can substitue user ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------- NoCommandTest: test_0001_nothing sent ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$BNHr6/ewUpbE8GHmiyKSGOkQrNgBRkt19f0n1dmhkUo2NxsZxyXkm', 'root', '2016-06-25 04:00:34', '2016-06-25 04:00:34', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$DPXSprIfADglLiVl/N5BJu62fbaixlScifC1xa0XMUQor6YGFua4y', 'dave', '2016-06-25 04:00:34', '2016-06-25 04:00:34', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------------ QuitTest: test_0001_not logged in response ------------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------- QuitTest: test_0002_log out --------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- ClearTest: test_0001_clears history ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:00:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.8ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$5HokZM0rdlrZQ172Sbbj7.P2joI.XGKIliuCQJXoxhjeICNfuMGrG', 'root', '2016-06-25 04:00:59', '2016-06-25 04:00:59', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$7NgfVcotgIVEZGVPX/tef.0q9PzD6uB5QOUKz6UNI5y8lfXRqbU8K', 'dave', '2016-06-25 04:00:59', '2016-06-25 04:00:59', 227792459)  (1.0ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------ SuTest: test_0002_can substitue user ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 390ms (Views: 381.2ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.9ms) Completed 200 OK in 40ms (Views: 39.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.5ms) Completed 200 OK in 41ms (Views: 37.4ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.3ms) Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ SuTest: test_0001_log in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:01:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$WfvA8AkRRIuMvoBNc/OsM.droSFNx1V/8sgVkY7Ock8evY1jfMLf6', 'root', '2016-06-25 04:01:35', '2016-06-25 04:01:35', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$.ABqMZ1Qlz3MG6MZDyGvYeICxAdnwz8uYGienHixi1XPNdwK72uQ.', 'dave', '2016-06-25 04:01:35', '2016-06-25 04:01:35', 227792459)  (1.6ms) COMMIT  (0.7ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:01:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.7ms) Completed 200 OK in 391ms (Views: 382.1ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:01:37 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:01:37 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:01:37 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (25.4ms) Completed 200 OK in 47ms (Views: 45.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:01:37 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:01:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ofZqQzbZDyDF5Zadz1usJeS.Z8N25Fodp50HIWMBG.CQydg4fHYpG', 'root', '2016-06-25 04:01:52', '2016-06-25 04:01:52', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$/oaceHy8C7FamZ02Tbsh1.qz2chRiDbuUA6KkvoUdpXA6esbw/fPW', 'dave', '2016-06-25 04:01:52', '2016-06-25 04:01:52', 227792459)  (1.7ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------------ QuitTest: test_0001_not logged in response ------------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:01:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.8ms) Completed 200 OK in 388ms (Views: 378.9ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:01:53 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:01:53 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:01:53 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (26.4ms) Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:01:54 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 19ms (Views: 17.3ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------- QuitTest: test_0002_log out --------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:01:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$bKPOfneUIHS0dI0XDxucmucqzIIdddCV8O6ULjYvBr5w.XlFjnP/.', 'root', '2016-06-25 04:02:16', '2016-06-25 04:02:16', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Ag3WQ1j5sBLsAw0xZc6w2OcFkWdbIXvifdqPtXarT.wi80OLvF2Zm', 'dave', '2016-06-25 04:02:16', '2016-06-25 04:02:16', 227792459)  (1.8ms) COMMIT  (0.6ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:02:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 396ms (Views: 387.2ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:02:18 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:02:18 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:02:18 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (30.7ms) Completed 200 OK in 50ms (Views: 48.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:02:18 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:02:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Zmv.IcQL/eD8BuML3Yge1OzGvvLpV/4jBr0l1QopvZmehU5E02rue', 'root', '2016-06-25 04:02:51', '2016-06-25 04:02:51', 135138680) Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$iOOzxUaevh1YnwOirkMlYOJp6gwAF3q4NpJafwh/tjTuGBOk.gxiC', 'dave', '2016-06-25 04:02:51', '2016-06-25 04:02:51', 227792459)  (1.5ms) COMMIT  (0.4ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.9ms) Completed 200 OK in 394ms (Views: 385.6ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:02:53 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:02:53 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:02:53 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (26.7ms) Completed 200 OK in 48ms (Views: 47.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:02:53 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:02:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$.qzhVKAXwT2P3rvEH6Xlquq0hZlVD17Lx1OTjP79dg2kUJBbbEVra', 'root', '2016-06-25 04:03:18', '2016-06-25 04:03:18', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$DVy9SmN///k0ce5y07cdcOSe75XQ9bC.CSD9xZ4Fhqh8y1Dw9sY/O', 'dave', '2016-06-25 04:03:18', '2016-06-25 04:03:18', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:03:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.2ms) Completed 200 OK in 396ms (Views: 387.2ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:03:20 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:03:20 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:03:20 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.5ms) Completed 200 OK in 47ms (Views: 47.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:03:20 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.4ms) Completed 200 OK in 40ms (Views: 36.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:03:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms) Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:03:20 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.4ms) Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:03:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$.zDkgs6i7DSYZXjCDtmxuepcUgriKIeQhkSMEPTse89BbRuXORJIG', 'root', '2016-06-25 04:03:30', '2016-06-25 04:03:30', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ldLmVXrERfHGqKZmkDuzPec6kAA1zTcuV0uyGLOIG60LM5U18nU/W', 'dave', '2016-06-25 04:03:30', '2016-06-25 04:03:30', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:03:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.3ms) Completed 200 OK in 391ms (Views: 382.4ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:03:31 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:03:31 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:03:32 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (27.5ms) Completed 200 OK in 47ms (Views: 46.2ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:03:32 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:03:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hJ8CAi6KyvMdHNFYf5ThDOzjhjCSg6LN1edlV5z4HsK3juo30Ga9a', 'root', '2016-06-25 04:04:02', '2016-06-25 04:04:02', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$dpZBcmknhXrF7xEz6h8jzeiDUOCjMBBZb1ay1wf23pCCVMqHnhcz2', 'dave', '2016-06-25 04:04:02', '2016-06-25 04:04:02', 227792459)  (1.1ms) COMMIT  (0.5ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:04:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 384ms (Views: 375.2ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:04:04 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:04:04 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:04:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (17.4ms) Completed 200 OK in 37ms (Views: 36.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:04:04 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.3ms) Completed 200 OK in 40ms (Views: 37.0ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:04:04 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.2ms) Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:04:04 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:04:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$BM2GxqhggmSBxq7.r1CIge94j2VjX1QWwj94vfn3ISNW8y2lV1852', 'root', '2016-06-25 04:06:48', '2016-06-25 04:06:48', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$poHcLYQJ8XPcv5eHIQZsJe.ydDoaPo1L.p9Iu.I7rMtnyA/BZToLu', 'dave', '2016-06-25 04:06:48', '2016-06-25 04:06:48', 227792459)  (1.3ms) COMMIT  (0.8ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$8fGrPPvq7GNW5hEzqjEMOujRoKQ5gKSWyv3YpcLTfDIFJIrd2y.4S', 'root', '2016-06-25 04:08:49', '2016-06-25 04:08:49', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$VVFMFcB/8IBzIQ4XUJxoPuI4w8hEZzFKGybnfqVmEgks4mkLdids.', 'dave', '2016-06-25 04:08:49', '2016-06-25 04:08:49', 227792459)  (2.0ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$01uvIxlpiElZBqXDUaQQ/.RVTcW32C7WMbFQutFrYIjr.EXIPljTO', 'root', '2016-06-25 04:09:08', '2016-06-25 04:09:08', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$DCiUHsUCq7IDoQA3nddP1.tK3MxBxW/oIpuGOABxneWaMUzqmGV52', 'dave', '2016-06-25 04:09:08', '2016-06-25 04:09:08', 227792459)  (1.3ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$poqiHDPvoqpXr3EAz4vnsOnG2STFFdWu90nt.Tu361BnzoF7.kY36', 'root', '2016-06-25 04:11:37', '2016-06-25 04:11:37', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$h7x.HkbNajEAdsoEcNluKu8mFWzXSLxCeIqmWxdcSyJk3sffgRjiW', 'dave', '2016-06-25 04:11:37', '2016-06-25 04:11:37', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in -----------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$U8DiuOT4VY4ZmaUXIoX23eJXlWqyqv9L4vFhfLyLk5YTiCv5JDUKO', 'root', '2016-06-25 04:11:52', '2016-06-25 04:11:52', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$T6oSAa1NXfRodR0aulvk8eO2IafQzL29wW4464iCowoxSlg7VkWNq', 'dave', '2016-06-25 04:11:52', '2016-06-25 04:11:52', 227792459)  (1.4ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in ---------------------------------  (0.5ms) ROLLBACK  (0.2ms) BEGIN ----------------------------- ExitTest: test_0002_logged in -----------------------------  (5.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Aubs0tAGlZJjerjDoceGUeMnT7fhzoF.dZ.oO2ZrjXtSi08MDrTqa', 'root', '2016-06-25 04:12:29', '2016-06-25 04:12:29', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$hogQ4Qp0ZrUHeV0s/fL6Fu8e5IHkvG2O4WxP3EY3EpnvDwkOdWiSm', 'dave', '2016-06-25 04:12:29', '2016-06-25 04:12:29', 227792459)  (5.5ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in -----------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.8ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$H2AYyMqRpM02fJSwQSGRfuTKfwwmmDxYRgTqK9OY2FTE.vG0SXAPi', 'root', '2016-06-25 04:12:33', '2016-06-25 04:12:33', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$HtoyzNvH.LxVLFpinV1b5.sJRLesyfdcxY6wp8kcrSksCrAbc/4/q', 'dave', '2016-06-25 04:12:33', '2016-06-25 04:12:33', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in ---------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in -----------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$RNPjjtyMVAJS.3mUZlwCa.szo9GNHOOzdWEVru7.GcVycLt02864i', 'root', '2016-06-25 04:14:31', '2016-06-25 04:14:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ofGneR31yobMsIqgEFBIq.azZr95r5UETY0m0X6efWRUjGAlbUcrO', 'dave', '2016-06-25 04:14:31', '2016-06-25 04:14:31', 227792459)  (1.4ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:14:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (10.3ms) Completed 200 OK in 334ms (Views: 325.8ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:14:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.8ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$96V4tt9PTBCypGHSbPvEA.xol9CJwUYuopYYt3cbeT5tpj0jUdXpa', 'root', '2016-06-25 04:14:44', '2016-06-25 04:14:44', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$dvUxxyUIi70I1IwZtcM16umMAAplAu1DJJVsUrBvUr2n6vZnsmNH2', 'dave', '2016-06-25 04:14:44', '2016-06-25 04:14:44', 227792459)  (1.4ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$oBqEPwCBMVhV8sRMnePUVOVEz1ktBz0KJlC4.zIp4lAg/gks9nWQG', 'root', '2016-06-25 04:20:27', '2016-06-25 04:20:27', 135138680) Fixture Insert (1.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$CgymOUET92XNHjSbbkw9n.FmmBoZuq4o4jJwAwZJtNPTP/VNHSLVu', 'dave', '2016-06-25 04:20:27', '2016-06-25 04:20:27', 227792459)  (1.8ms) COMMIT  (0.3ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in ---------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in -----------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$vz4aPo/UYF/cSM4s13/aHO3piEdOnVRZjttv1Fkp/HKbCtMtAQpRq', 'root', '2016-06-25 04:20:44', '2016-06-25 04:20:44', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$lGQqEGegImom7CGfWATg4e8iIweJTnpiItMklpZT5JNsyRgEpQA3e', 'dave', '2016-06-25 04:20:44', '2016-06-25 04:20:44', 227792459)  (1.8ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:20:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.0ms) Completed 200 OK in 429ms (Views: 420.4ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:20:48 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:20:48 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:20:48 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (32.1ms) Completed 200 OK in 58ms (Views: 54.7ms | ActiveRecord: 1.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:20:49 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:20:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$FhWTf12mLruueNDlCP.oLOt2O8RIJ233U.o2NwgX9j67iqiZosocm', 'root', '2016-06-25 04:21:15', '2016-06-25 04:21:15', 135138680) Fixture Insert (0.9ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$MZx9yhZ8K/L9bcMxJI3MPegkCfjJRyPaP22cAJiqPpzbBg4D5I.cW', 'dave', '2016-06-25 04:21:15', '2016-06-25 04:21:15', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 456ms (Views: 445.0ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:21:17 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:21:17 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (29.4ms) Completed 200 OK in 54ms (Views: 53.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 23ms (Views: 20.6ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------- NoCommandTest: test_0001_nothing sent ------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Pjbw5XJe3UaV5PeEZ3Q/j.IntolTEkebcAkmOWLhOsCJ8HzUz0WdO', 'root', '2016-06-25 04:21:18', '2016-06-25 04:21:18', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$7QhS0fUPe55AQ1HTynifeOA2xm0lGpkqu5sc5DHem88JEhULooP/S', 'dave', '2016-06-25 04:21:18', '2016-06-25 04:21:18', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PasswdTest: test_0001_not logged in ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- PasswdTest: test_0002_logged in ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ SuTest: test_0001_log in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ SuTest: test_0002_can substitue user ------------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- ClearTest: test_0001_clears history ----------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$nYm3m6zu7iqndnRq09jwn.hxH8ZOA0MmsqhuKEcc7SsyM0lt1GzCS', 'root', '2016-06-25 04:21:29', '2016-06-25 04:21:29', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Y5k1t1/WPH8NKJaXXuODUuc1Tud8/zPhnDHThEKywckZM0wFoiUSu', 'dave', '2016-06-25 04:21:29', '2016-06-25 04:21:29', 227792459)  (1.6ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.3ms) Completed 200 OK in 444ms (Views: 433.4ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:21:32 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:21:32 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:21:32 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (27.5ms) Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:21:32 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.0ms) Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$/5oIE6Y4hv2eUtA23nBnn.oFPwKs8.gyKF.ZD1fafEvle3SpxY9Ly', 'root', '2016-06-25 04:21:41', '2016-06-25 04:21:41', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Wuz2m7/glXmC9BhcKQn0Velhx8gwzIj0iXxL5afaT25KuWl.15QAm', 'dave', '2016-06-25 04:21:41', '2016-06-25 04:21:41', 227792459)  (1.4ms) COMMIT  (0.7ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 448ms (Views: 439.6ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:21:44 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:21:44 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:21:44 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (27.2ms) Completed 200 OK in 48ms (Views: 47.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:21:44 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.9ms) Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:21:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.0ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Ufbknp.Z3VKFrP5DeC7zoezJkSEcm9/Vt2ZnjdYWtC5gXgoySCd1S', 'root', '2016-06-25 04:22:04', '2016-06-25 04:22:04', 135138680) Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$l1DyGMTuM3mBsM3GqGoqHuYhOP.dix4G7aZVQEV/VewSUewL5oCeG', 'dave', '2016-06-25 04:22:04', '2016-06-25 04:22:04', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:22:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.7ms) Completed 200 OK in 434ms (Views: 423.6ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:22:06 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:22:06 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:22:06 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (26.5ms) Completed 200 OK in 49ms (Views: 47.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:22:06 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:22:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$07XiEFaUyEAYCaAaOqbxPu8JfAEbnnt9Idc4plrwinwx691y7.sdq', 'root', '2016-06-25 04:22:32', '2016-06-25 04:22:32', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ViT5YCE6EEPfAXmRbAlMneFLpUOOMkOSISOkk.FYXqlrfMeECdMhm', 'dave', '2016-06-25 04:22:32', '2016-06-25 04:22:32', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:22:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.3ms) Completed 200 OK in 426ms (Views: 417.6ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:22:34 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:22:34 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:22:35 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (26.8ms) Completed 200 OK in 50ms (Views: 48.7ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:22:35 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:22:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.9ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$KylBtzu/Uq.4FMFBmyEdRulUxkSxzg4H1L1SrqH.Ad0Zr4mjwC45y', 'root', '2016-06-25 04:22:50', '2016-06-25 04:22:50', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$gEQnJ/1T609wWdTpcwgb5.XhbmtORWitxzb93xs9EgP/4lYtCKllC', 'dave', '2016-06-25 04:22:50', '2016-06-25 04:22:50', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:22:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.5ms) Completed 200 OK in 429ms (Views: 420.7ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:22:52 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:22:52 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:22:53 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.7ms) Completed 200 OK in 46ms (Views: 45.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:22:53 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.9ms) Completed 200 OK in 47ms (Views: 43.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:22:53 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.4ms) Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:22:54 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:22:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$zP/e4XHeiNIqCIS.xFw3R.emjmvYFVXoIHNnQECFMlBtSNc99pq0m', 'root', '2016-06-25 04:23:02', '2016-06-25 04:23:02', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$OdRPLKTvXfD98LHHtPHJle3vcghVmBcFz3Sw9oqPEwos4acwZhUZS', 'dave', '2016-06-25 04:23:02', '2016-06-25 04:23:02', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:23:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.3ms) Completed 200 OK in 429ms (Views: 418.3ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:23:04 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:23:04 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (12.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (25.1ms) Completed 200 OK in 45ms (Views: 44.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:23:04 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.6ms) Completed 200 OK in 50ms (Views: 45.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:05 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.2ms) Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:05 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:23:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$FqpEWn7JrpQ90eDNnL3WR.DlnNji8NXHs0qCrDZssMV36RTlqNHuW', 'root', '2016-06-25 04:23:12', '2016-06-25 04:23:12', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$4Ry1xIz4rY61CEt/veYVF.yOclfUlNRwMfS/aCmdrX.cQOjYfdP5.', 'dave', '2016-06-25 04:23:12', '2016-06-25 04:23:12', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- ExitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:23:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (16.8ms) Completed 200 OK in 444ms (Views: 430.8ms | ActiveRecord: 1.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:23:14 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:23:14 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:14 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (25.6ms) Completed 200 OK in 46ms (Views: 44.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:15 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- ExitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:23:15 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$IXOZNrB9c.wFTx6c5/zL.OUTUQcM7GunUuEqC6jPrO7UIKf.Y47ka', 'root', '2016-06-25 04:23:43', '2016-06-25 04:23:43', 135138680) Fixture Insert (0.8ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Q3at/S//X0MVn7IUegtchORXOvhOi2SKfDV1tG.TNsr8lN5L73cj2', 'dave', '2016-06-25 04:23:43', '2016-06-25 04:23:43', 227792459)  (1.5ms) COMMIT  (0.3ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:23:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.4ms) Completed 200 OK in 440ms (Views: 430.3ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:23:46 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:23:46 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:46 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (27.9ms) Completed 200 OK in 50ms (Views: 49.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:46 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:23:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$JC3Oao/XJ7HFXhnct.wexuNY85Oc2quoV/2yFWo079Vk1Th68e4TS', 'root', '2016-06-25 04:23:52', '2016-06-25 04:23:52', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ylJf0iQt2JpMw/arbICG1uDGUo0j3Uw/Ywqe3346qz.y/wxaGnvEq', 'dave', '2016-06-25 04:23:52', '2016-06-25 04:23:52', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:23:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.8ms) Completed 200 OK in 483ms (Views: 473.1ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:23:55 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:23:55 -0700 LunarShell::User Load (6.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:55 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (11.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.9ms) Completed 200 OK in 44ms (Views: 44.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:23:55 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.2ms) Completed 200 OK in 42ms (Views: 38.7ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:55 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms) Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:23:56 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.7ms) Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:23:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$POlVJLPREXduIoXLZFEOJ.UHjfGrFcm4eV8DTTqcqyVE.WABxDnOu', 'root', '2016-06-25 04:24:17', '2016-06-25 04:24:17', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$cqpM2gaJsm1kTn.xgEoovOr67mtNKSZQiWNq3yIglLGWyd6Q4yYam', 'dave', '2016-06-25 04:24:17', '2016-06-25 04:24:17', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:24:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.2ms) Completed 200 OK in 420ms (Views: 410.7ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:24:20 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:24:20 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:24:20 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (34.5ms) Completed 200 OK in 88ms (Views: 87.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:24:20 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.2ms) Completed 200 OK in 45ms (Views: 40.9ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:24:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.8ms) Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:24:21 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.3ms) Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:24:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$fBRWvAt0GjoUnElD1MiJxucdRtH5wxur7j6SBA/kPgt3lQ7SRGFu6', 'root', '2016-06-25 04:24:30', '2016-06-25 04:24:30', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$lvk0do8MpQWuZ.E8LTE3bOujl1jhX7KIpbX.U4ENXGxtlOYWh05.K', 'dave', '2016-06-25 04:24:30', '2016-06-25 04:24:30', 227792459)  (1.3ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:24:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.2ms) Completed 200 OK in 438ms (Views: 429.0ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:24:32 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:24:32 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:24:32 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (25.7ms) Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:24:33 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.3ms) Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:24:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$bJwIDmidd7N0w7FNwzIX5e8uj34uh7VTxjCE.494EE6zqMtyQdIa6', 'root', '2016-06-25 04:24:54', '2016-06-25 04:24:54', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Y03R5/xzQD4ouBantFNvoOJHki2UWZ/cII9Q7prMMv6rBr6xR2i4.', 'dave', '2016-06-25 04:24:54', '2016-06-25 04:24:54', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------------- quit response: test_0001_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:24:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.7ms) Completed 200 OK in 432ms (Views: 423.3ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:24:57 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:24:57 -0700 LunarShell::User Load (1.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:24:57 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.9ms) Completed 200 OK in 44ms (Views: 43.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:24:57 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.2ms) Completed 200 OK in 44ms (Views: 40.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:24:58 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms) Completed 200 OK in 20ms (Views: 19.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:24:58 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.9ms) Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------- quit response: test_0002_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:24:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$NgvmMGGtA3sZ5m0OCz6tyOMNzefWT69l/ppMrJ31fTsE1jTJGuzMq', 'root', '2016-06-25 04:25:12', '2016-06-25 04:25:12', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$I9AdX4Os0.9cNwulYvb.R.0iIJ.gFqQ7tP7/jPIjLIQg1/hLxKaMq', 'dave', '2016-06-25 04:25:12', '2016-06-25 04:25:12', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------- quit response: test_0001_not logged in -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:25:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.7ms) Completed 200 OK in 428ms (Views: 418.5ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:25:14 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:25:14 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:25:15 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (27.7ms) Completed 200 OK in 50ms (Views: 48.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:25:15 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.7ms) Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------- quit response: test_0002_logged in ---------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:25:15 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$b5D1HTFkxBYbSLoVT/6XMeixMk1N7L.YZ8qSj/TErvQBysSAmaK7K', 'root', '2016-06-25 04:25:39', '2016-06-25 04:25:39', 135138680) Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$BPPhaIaWlwFCc4eRV0HqkO6kzrX4tHyBBkT9q0oTiMmP0FtkKURrO', 'dave', '2016-06-25 04:25:39', '2016-06-25 04:25:39', 227792459)  (1.2ms) COMMIT  (0.3ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:25:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.0ms) Completed 200 OK in 459ms (Views: 449.7ms | ActiveRecord: 1.5ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:25:41 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:25:41 -0700 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:25:42 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (11.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (27.2ms) Completed 200 OK in 60ms (Views: 59.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:25:42 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (24.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (43.7ms) Completed 200 OK in 64ms (Views: 58.4ms | ActiveRecord: 1.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:25:42 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.0ms) Completed 200 OK in 31ms (Views: 30.1ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:25:42 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (4.1ms) Completed 200 OK in 32ms (Views: 28.5ms | ActiveRecord: 1.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:25:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$CPsbTHTLGcojMWE4.J0Tc.oAZZWd8oWuPWAbfPnWCNoN1m1xSzH.u', 'root', '2016-06-25 04:30:27', '2016-06-25 04:30:27', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$fVNBpnTbAIdUcZBlsAFofeiHItZHXTGkgONCJulIxJhP/xR0fHPLa', 'dave', '2016-06-25 04:30:27', '2016-06-25 04:30:27', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:30:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.9ms) Completed 200 OK in 443ms (Views: 433.9ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:30:29 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:30:29 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:30:30 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (31.1ms) Completed 200 OK in 52ms (Views: 51.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:30:30 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:30:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$lT1nLrszysx/IGSpOaDO6.BZvkLrdiL3OI7sdQfUEzrwySnRjZDF2', 'root', '2016-06-25 04:30:59', '2016-06-25 04:30:59', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Xn70MelrpQo3HKXmXpteruWuyiY4tifSPNzcdjmO7GedzylE.cCzu', 'dave', '2016-06-25 04:30:59', '2016-06-25 04:30:59', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:31:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.8ms) Completed 200 OK in 440ms (Views: 428.5ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:31:02 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:31:02 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:02 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (27.9ms) Completed 200 OK in 50ms (Views: 49.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:02 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 20ms (Views: 18.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:03 -0700  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:31:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:03 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.6ms) Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:31:03 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 23ms (Views: 18.0ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:03 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.8ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 1.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:03 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.6ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:04 -0700  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Aix85NkYwu88ZjSYMLuYdeCWNLc/OndDjl7GSerQUp8Sz3ilx.hj.', 'root', '2016-06-25 04:31:20', '2016-06-25 04:31:20', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$MAgAvEcHdbkf8oeGXSPHEuunWO2CxGOprNWILKYf6omBcW6BCTnoi', 'dave', '2016-06-25 04:31:20', '2016-06-25 04:31:20', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:31:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.2ms) Completed 200 OK in 426ms (Views: 416.2ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:31:23 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:31:23 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (11.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (25.2ms) Completed 200 OK in 46ms (Views: 46.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:31:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.1ms) Completed 200 OK in 47ms (Views: 42.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:24 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms) Completed 200 OK in 21ms (Views: 20.6ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:24 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.1ms) Completed 200 OK in 23ms (Views: 20.6ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:24 -0700  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:31:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:24 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:24 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:24 -0700  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$z8lXsHU9V2Be2zYTTTzpHeGeGfOPJ8Nn7w8RXVSqpClPNkofqLm12', 'root', '2016-06-25 04:31:34', '2016-06-25 04:31:34', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$YD9q1LAfnmToK4sHtklyROaF9RA89yh/ddkM2rPcV99a5fGaX34H.', 'dave', '2016-06-25 04:31:34', '2016-06-25 04:31:34', 227792459)  (1.1ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:31:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.4ms) Completed 200 OK in 425ms (Views: 416.4ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:31:37 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:31:37 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:37 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (25.9ms) Completed 200 OK in 48ms (Views: 47.6ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:31:37 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.6ms) Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:31:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$qNqznYv2TC7FqXmbeB.uoeVxMhJYPLr28YQW3dCX2FKIq5fv8OoZ2', 'root', '2016-06-25 04:32:17', '2016-06-25 04:32:17', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ogXyo./KzRDObloZhMEEiOU8lXUUdHYCRI25H0edLwdyjuznhLzXu', 'dave', '2016-06-25 04:32:17', '2016-06-25 04:32:17', 227792459)  (1.4ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:32:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.5ms) Completed 200 OK in 433ms (Views: 422.8ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:32:19 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:32:19 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:32:20 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.6ms) Completed 200 OK in 44ms (Views: 43.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:32:20 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.9ms) Completed 200 OK in 47ms (Views: 43.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:32:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:32:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:32:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$vDrYrKhL77PJ0aPPVpWYC.VWDnkkNmCyV2UnX4y9WXlxIUrTKFnVq', 'root', '2016-06-25 04:32:33', '2016-06-25 04:32:33', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$y3ZEpL7Ttccs7rrYc69Qhukl17XMRezGILIBMWNTz27SJTCLfKlLG', 'dave', '2016-06-25 04:32:33', '2016-06-25 04:32:33', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:32:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.8ms) Completed 200 OK in 423ms (Views: 413.5ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:32:35 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:32:35 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:32:35 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (29.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (53.7ms) Completed 200 OK in 103ms (Views: 102.6ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:32:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$yl6g9Dy5rRyMCxhiR5fu2.CSOh0Cid7PKP/tZ0yKdhkgnPfYotHOS', 'root', '2016-06-25 04:32:55', '2016-06-25 04:32:55', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$qGhTtWJV7uusd2s7OGsRwugHjHjnI/zHkSG94b7NCpXXyw/FC52Fy', 'dave', '2016-06-25 04:32:55', '2016-06-25 04:32:55', 227792459)  (2.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------- QuitTest: test_0001_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:32:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.4ms) Completed 200 OK in 424ms (Views: 415.5ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:32:57 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:32:57 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:32:57 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.9ms) Completed 200 OK in 43ms (Views: 43.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:32:57 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.4ms) Completed 200 OK in 42ms (Views: 38.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:32:58 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.8ms) Completed 200 OK in 19ms (Views: 18.7ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- QuitTest: test_0002_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:32:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.9ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$bqgLLQyg.Zq3wG87iKgZo.LbwvP9m2Dtaztta46x1DoBqiymbv..a', 'root', '2016-06-25 04:33:09', '2016-06-25 04:33:09', 135138680) Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$7d4TFJcNna1rk.pDDotE9u8.yt.HY216pFnjErWuL6cLcnsl7lptW', 'dave', '2016-06-25 04:33:09', '2016-06-25 04:33:09', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:33:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 428ms (Views: 418.9ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:33:12 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:33:12 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:33:12 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (25.0ms) Completed 200 OK in 46ms (Views: 45.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:33:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$l7ANvQWvb371.byw1iNziOnJWldiqHHJq9FrT46Ew4FAAFCqj2WvW', 'root', '2016-06-25 04:33:30', '2016-06-25 04:33:30', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$cG/ECPruhN4uZJPDIlqw3O1DWg/GUwZQVgy4rDT780jRBRHGOR2KK', 'dave', '2016-06-25 04:33:30', '2016-06-25 04:33:30', 227792459)  (1.4ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:33:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms) Completed 200 OK in 431ms (Views: 422.6ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:33:32 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:33:32 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:33:32 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (27.3ms) Completed 200 OK in 48ms (Views: 47.1ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:33:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$2lhnw7DwJ6xvbi9ACdVl/Owq53BIHTE47sAbawmU5rlkhP9YeEQtK', 'root', '2016-06-25 04:33:44', '2016-06-25 04:33:44', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$FvFdF2a9GoXfj0bqRmi3euo5YBHF/KNHRGmQeg4V1jfWc7Ua98vwG', 'dave', '2016-06-25 04:33:44', '2016-06-25 04:33:44', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$KlJ3Uf5FImEW90xJL29JeOPwTZcs5gyPeoW0Fth305ayevpERIJc.', 'root', '2016-06-25 04:33:54', '2016-06-25 04:33:54', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$K3LhLal8x0jMnmnTLwSVA.jLXtoh5w1QubU6Q/31DCK8gLTPcChBu', 'dave', '2016-06-25 04:33:54', '2016-06-25 04:33:54', 227792459)  (1.3ms) COMMIT  (0.5ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in ---------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:33:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 478ms (Views: 470.1ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$uWeDCVsxISId.ct4MRTyvuVXu7hdSBBLfUj5bDPVZitWmHSeXGQoO', 'root', '2016-06-25 04:34:55', '2016-06-25 04:34:55', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$BIX4KFOzasBJvud0CulGu.F1IZRlQimkbb8IjJ5tYTR2B/B.o7HXW', 'dave', '2016-06-25 04:34:55', '2016-06-25 04:34:55', 227792459)  (1.1ms) COMMIT  (0.6ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:34:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 443ms (Views: 434.1ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:34:57 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:34:57 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:34:57 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (26.3ms) Completed 200 OK in 48ms (Views: 47.8ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:34:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.2ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$x/EaCYhcjeAem/sOeiA4k.Us/8MRgy7RhAzNfvMBnUsDLrYaHN5.i', 'root', '2016-06-25 04:35:16', '2016-06-25 04:35:16', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$6lNojk9omsZ1EOrxSdHs9eW1tPrSSySuGbJ/FtW9o6VEm1iABZ5Bq', 'dave', '2016-06-25 04:35:16', '2016-06-25 04:35:16', 227792459)  (1.6ms) COMMIT  (0.4ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:35:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.1ms) Completed 200 OK in 428ms (Views: 419.4ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:35:19 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:35:19 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:35:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (33.0ms) Completed 200 OK in 64ms (Views: 63.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:35:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.6ms) Completed 200 OK in 45ms (Views: 41.4ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:35:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.5ms) Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:35:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$s9IQhS4xH4ExyGYyjND/H.TPP653cm07Z5LHvaO3LyQu04ubZBDaC', 'root', '2016-06-25 04:35:31', '2016-06-25 04:35:31', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$kuMpzMdsODwZY.PfYwshzeJ9KVcfkVSA6dErN.LsBIGiIJ8Au6JuW', 'dave', '2016-06-25 04:35:31', '2016-06-25 04:35:31', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------- QuitTest: test_0001_not logged in --------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:35:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.5ms) Completed 200 OK in 445ms (Views: 435.3ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:35:34 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:35:34 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:35:34 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (25.5ms) Completed 200 OK in 46ms (Views: 45.8ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------- QuitTest: test_0002_logged in ----------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:35:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$BSkHP77aETYq5c9aN2y3G.1/IegLNiVuPw8s84lD6Y9fjq3sIuF5y', 'root', '2016-06-25 04:38:10', '2016-06-25 04:38:10', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$raAqM9cBd9g07zuf.Mz5leWmZupSCpamod9FWd/mHePsGosmPV8uG', 'dave', '2016-06-25 04:38:10', '2016-06-25 04:38:10', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ----------------------------  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ImVkV6eGFMctsWaHXMcp2uQlgBMtmGSnDTseciGJc2328.OaatxKa', 'root', '2016-06-25 04:38:59', '2016-06-25 04:38:59', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$IpCQZBvwfnS4Fj2.a3bZz.fj1arOgJ7pthQcr9UY0x0aOuThudX8K', 'dave', '2016-06-25 04:38:59', '2016-06-25 04:38:59', 227792459)  (67.8ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:39:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.3ms) Completed 200 OK in 367ms (Views: 357.9ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:39:01 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:39:01 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:39:02 -0700  (0.6ms) ROLLBACK Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"}  (30.8ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (27.0ms) Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-06-24 21:39:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:39:02 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.3ms) Completed 200 OK in 34ms (Views: 33.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:39:02 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms) Completed 200 OK in 19ms (Views: 15.2ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:39:03 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.5ms)  (1.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$bB64hQTU9Pff6VAb06XBku7RRORveJxJKPZh8/nrMZqmmOhUTmU1K', 'root', '2016-06-25 04:39:13', '2016-06-25 04:39:13', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$6iKGKGdLO15jVHozFUtf/ex/MERbCHLNkxfyxYXm0h6/3QDklaKYi', 'dave', '2016-06-25 04:39:13', '2016-06-25 04:39:13', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:39:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.4ms) Completed 200 OK in 364ms (Views: 355.8ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:39:15 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:39:15 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:39:15 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (42.2ms) Completed 200 OK in 89ms (Views: 88.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:39:15 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.2ms) Completed 200 OK in 44ms (Views: 40.1ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:39:16 -0700  (0.2ms) ROLLBACK Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"}  (2.8ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.2ms) Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2016-06-24 21:39:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:39:16 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.8ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms)  (1.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$CBWUfMeOr1xuHdC63GcDhuse/S1pzjUwznVoVRg6fNpMgjCDfZqC6', 'root', '2016-06-25 04:39:45', '2016-06-25 04:39:45', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$9akfi4jrQvSZwLmHpke9gu4YuYS6nUKuDUuyILfQ.yJS6xl.l9TSq', 'dave', '2016-06-25 04:39:45', '2016-06-25 04:39:45', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:39:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.7ms) Completed 200 OK in 353ms (Views: 344.4ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:39:47 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:39:47 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:39:48 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"}  (27.2ms) ROLLBACK  (1.8ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ LunarShell::User Load (1.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (32.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (51.1ms) Completed 500 Internal Server Error in 74ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2016-06-24 21:39:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (4.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:39:48 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.0ms) Completed 200 OK in 38ms (Views: 38.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$qdY1eKuu6iYAXtTMdr8Ud./PaYzJUKbyOgcA229p3irrgJ0ZsF61W', 'root', '2016-06-25 04:40:09', '2016-06-25 04:40:09', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$I91R80dhadDM0STECyUJ7OyYPlsbs3MoFV/XOCZ6dMPa6GDVc7D.a', 'dave', '2016-06-25 04:40:09', '2016-06-25 04:40:09', 227792459)  (2.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:40:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.4ms) Completed 200 OK in 366ms (Views: 357.1ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:40:11 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:40:11 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:11 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.5ms) Completed 200 OK in 39ms (Views: 38.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:40:11 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.0ms) Completed 200 OK in 46ms (Views: 42.1ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:12 -0700  (1.0ms) ROLLBACK Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"}  (15.0ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.1ms) Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2016-06-24 21:40:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:12 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$iyHZMczuSBOC8Su.Q0c4LO6LOdYgvUsiisVBmlZ5679G/p70UcGB6', 'root', '2016-06-25 04:40:21', '2016-06-25 04:40:21', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$v6fIpv./cqzGY0/PxEE56.cVT51vR06rH0Yv1LNglK3/ay1xsUfWe', 'dave', '2016-06-25 04:40:21', '2016-06-25 04:40:21', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:40:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.6ms) Completed 200 OK in 366ms (Views: 356.3ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:40:23 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:40:23 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (31.3ms) Completed 200 OK in 69ms (Views: 68.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:40:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (26.5ms) Completed 200 OK in 44ms (Views: 40.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:24 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"}  (15.0ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms) Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-06-24 21:40:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:24 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$mFYas7/ye0XxkfF19apyte40qtY20XWmdkpBp/bjH35IYdnzLiDBe', 'root', '2016-06-25 04:40:40', '2016-06-25 04:40:40', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$o1gd40cQFG/oHO5XOrvRweGjB9ybw6PZx2q7/qkhM/BqMEjRyOtfO', 'dave', '2016-06-25 04:40:40', '2016-06-25 04:40:40', 227792459)  (1.2ms) COMMIT  (0.5ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:40:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.8ms) Completed 200 OK in 346ms (Views: 337.7ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:40:42 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:40:42 -0700 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:43 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.4ms) Completed 200 OK in 42ms (Views: 42.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:40:43 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.6ms) Completed 200 OK in 42ms (Views: 38.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:43 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"}  (15.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- LunarShell::User Load (1.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.0ms) Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2016-06-24 21:40:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:40:43 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.9ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3M/ut8Kz2x1AS1w0uSsJguIA.5F0pEiEkibBVQzRxEL2NxJLk/f8S', 'root', '2016-06-25 04:41:22', '2016-06-25 04:41:22', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$aRZGtc9Soz2k0jE0.uyiIuHs8UdOOb5mUVaUbZW2uj.EVCaTiuVo.', 'dave', '2016-06-25 04:41:22', '2016-06-25 04:41:22', 227792459)  (1.6ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:41:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.7ms) Completed 200 OK in 357ms (Views: 347.3ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:41:25 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:41:25 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:41:32 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.3ms) Completed 200 OK in 38ms (Views: 38.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:41:33 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.9ms) Completed 200 OK in 42ms (Views: 38.8ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:41:33 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms) Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:41:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:41:33 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hhHVAyq2iE2hoJPMQDOhOes1AtiSjNOYGIHFqxkSzHuzc/xiCWr6K', 'root', '2016-06-25 04:45:28', '2016-06-25 04:45:28', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$eRPbNJGHxl1SHZ6sWW20..yM/L4kh01nWx6LbKu/o1LpuzQGPb2ei', 'dave', '2016-06-25 04:45:28', '2016-06-25 04:45:28', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.6ms) Completed 200 OK in 354ms (Views: 345.8ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:45:30 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:45:30 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.6ms) Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:45:30 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.3ms) Completed 200 OK in 45ms (Views: 41.0ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:30 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.5ms) Completed 200 OK in 23ms (Views: 22.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:31 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:31 -0700  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hU5iJroCoNihVg/IWBigQuO6fjGObTVyitJAkQD17kE.naOXAZpX.', 'root', '2016-06-25 04:45:31', '2016-06-25 04:45:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$W/rGwlxrSe7kcpDXh9JzzOXwRQuA4HeWhyQJ9gJKDA3/DJAaaS/uS', 'dave', '2016-06-25 04:45:31', '2016-06-25 04:45:31', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:45:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:31 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.8ms) Completed 200 OK in 36ms (Views: 33.7ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:45:32 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:45:32 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:45:32 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.5ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$ZezqdJDMHB2yepr3sRsTxuO47wS22u8YmyuwCSdnTwalF4TsIEam."], ["updated_at", "2016-06-25 04:45:32.360705"], ["id", 227792459]]  (5.6ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.6ms) Completed 200 OK in 35ms (Views: 15.5ms | ActiveRecord: 7.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:32 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:36 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:45:36 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:36 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:45:37 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:37 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:45:37 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.0ms) Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:37 -0700  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:37 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:45:37 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:38 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.3ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:45:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:45:40 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$rdkJiSUiFzwmMhtouKgl7.fOJpaM8JEXo04xkBtpArR1X.vjBxUhW', 'root', '2016-06-25 04:46:00', '2016-06-25 04:46:00', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Hf0Wx.7IcDlriRHHecWyguytEYwVMhUVlJtIbkkbJhvS4XpOCLE4C', 'dave', '2016-06-25 04:46:00', '2016-06-25 04:46:00', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.1ms) Completed 200 OK in 343ms (Views: 334.0ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:46:03 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:46:03 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:03 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (29.7ms) Completed 200 OK in 61ms (Views: 60.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$JT6X70vSK9kyBioUP2GNR.2w6bPY8QgYjuWuL8X6DiIrOQSN8tg7y', 'root', '2016-06-25 04:46:10', '2016-06-25 04:46:10', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$27b9m8/c06X/KchmgpV34OUaYA.j0mINTxXyROuSMu6LPKLxEMwIG', 'dave', '2016-06-25 04:46:10', '2016-06-25 04:46:10', 227792459)  (1.1ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (18.7ms) Completed 200 OK in 362ms (Views: 351.6ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:46:12 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:46:12 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:12 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (28.2ms) Completed 200 OK in 49ms (Views: 48.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$bOTb1TAy3MxCI.a1I.dLA.fAfExrfcBQsOBn6vgFyNaQhqfO9EKgG', 'root', '2016-06-25 04:46:19', '2016-06-25 04:46:19', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$8gzDsCu6x1GT/FkwcKMoQOuBDxb2cwTcJR8nVx9U/jWh5EZ7W0zfK', 'dave', '2016-06-25 04:46:19', '2016-06-25 04:46:19', 227792459)  (0.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.0ms) Completed 200 OK in 366ms (Views: 355.9ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:46:21 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:46:21 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.5ms) Completed 200 OK in 39ms (Views: 39.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:46:22 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (25.1ms) Completed 200 OK in 43ms (Views: 38.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:46:22 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.7ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms) Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.2ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:24 -0700  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$v56zi1pS5GbIgukiMB3ucuCKLz1OF4sAUaMOsHyZ50P06DvnRipVy', 'root', '2016-06-25 04:46:24', '2016-06-25 04:46:24', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ixErslCc7kUDr/eJ5rfNDeRRTV60t4cuvDJ/.xq2e1fLnq1SSr4uK', 'dave', '2016-06-25 04:46:24', '2016-06-25 04:46:24', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:46:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:24 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.9ms) Completed 200 OK in 34ms (Views: 31.7ms | ActiveRecord: 0.9ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:46:24 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:46:24 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.9ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:46:24 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.6ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$RuW5YMblsAQsdiJCDT4L5OgmHTeLoOlYWZH2Mi9zdFsjj2031IIeS"], ["updated_at", "2016-06-25 04:46:24.909173"], ["id", 227792459]]  (1.0ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.6ms) Completed 200 OK in 32ms (Views: 17.1ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:25 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:27 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:46:27 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:27 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.2ms) Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:29 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:46:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.9ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:46:30 -0700  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$yyObxrpkYcfLDKuumh6.DOP.D1xUcA49P5GbenN.9M9rlAw8qJ9MC', 'root', '2016-06-25 04:46:59', '2016-06-25 04:46:59', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$jDx319JCmBwTSqMDN/k6seqK7riMx/7fRJMeiV16Y4T.FZL8qCEbS', 'dave', '2016-06-25 04:46:59', '2016-06-25 04:46:59', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.1ms) Completed 200 OK in 346ms (Views: 337.8ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:47:01 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:47:01 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (15.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (42.4ms) Completed 200 OK in 88ms (Views: 87.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:47:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.0ms) Completed 200 OK in 44ms (Views: 40.6ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:02 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.5ms) Completed 200 OK in 38ms (Views: 35.7ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:47:02 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:47:02 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:47:02 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$DoyhkiHTp59kLUgAgLNRF.mL051cJDyRK2cfjz7fl2LdLndb/O9cm"], ["updated_at", "2016-06-25 04:47:02.504626"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 31ms (Views: 16.6ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:02 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 9ms (Views: 3.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:47:05 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.1ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:05 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.1ms) Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:07 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:07 -0700  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$UzA7PfTYVjFfylJdRoa9e.KfbFplRiHbh5Mu0AMMpxCu3OYm.rM4e', 'root', '2016-06-25 04:47:07', '2016-06-25 04:47:07', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$kOo2ihNae0HxId9HviY8DeAd.gkDAv0dB26At3CtZy86jqOPR985O', 'dave', '2016-06-25 04:47:07', '2016-06-25 04:47:07', 227792459)  (1.4ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:47:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:07 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.5ms) Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:08 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:47:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:47:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:47:11 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3Pq4iCkOJljCu5.QPhlcJeZ4fLH/w1uRJHBauVJ35ERQWJnggE4JC', 'root', '2016-06-25 04:47:37', '2016-06-25 04:47:37', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$1qC4BG3QxUEYd0AWrEVwa.xS6n29oxqRFuVitdVbaZtCNSRpMOOAu', 'dave', '2016-06-25 04:47:37', '2016-06-25 04:47:37', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:47:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 358ms (Views: 349.8ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:47:39 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:47:39 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:47:40 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (32.1ms) Completed 200 OK in 52ms (Views: 51.7ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$F56J2jNYADXj/7.9EvvvNuXd4urJlCXju.lssAnQRHbiDsm2cxrTO', 'root', '2016-06-25 04:47:58', '2016-06-25 04:47:58', 135138680) Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ydozYxcYw5WChFt27sCT7.TlFvwiHB0jmcmk7NxTS4hUd/RgB8gLK', 'dave', '2016-06-25 04:47:58', '2016-06-25 04:47:58', 227792459)  (1.7ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 354ms (Views: 345.3ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:48:01 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:48:01 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.5ms) Completed 200 OK in 46ms (Views: 45.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:48:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.8ms) Completed 200 OK in 46ms (Views: 42.7ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:48:04 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:48:04 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (5.8ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (8.0ms) Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:04 -0700  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$2rPN1/uRl98jcab6CuR0cOYxqp3owT1Hqx35Cj8aGVj.raCHMibYi', 'root', '2016-06-25 04:48:04', '2016-06-25 04:48:04', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$q8EGYzLCSmA/6PxAWyhaVuxq7UE0RKC1a7emr8aM0Jne2l.xsYvnm', 'dave', '2016-06-25 04:48:04', '2016-06-25 04:48:04', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.3ms) Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.4ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:05 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:48:06 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:06 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.0ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:06 -0700  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:06 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:48:06 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:06 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.5ms) Completed 200 OK in 34ms (Views: 32.2ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:48:07 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.9ms) Completed 200 OK in 14ms (Views: 14.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:48:07 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:48:07 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$00FEte0ryzFMOig4QUwPwut8pnlN8F0JdGkqg/GzQ6DpY6m4v6BeS"], ["updated_at", "2016-06-25 04:48:07.260528"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.4ms) Completed 200 OK in 27ms (Views: 14.9ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:07 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$U3sauyVSup3Vkxwce7.GTu.rEcJO/hfFVJ9R7AGLgEWvs2R5S2ruK', 'root', '2016-06-25 04:48:56', '2016-06-25 04:48:56', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$qapAjRSIaEy9iqWCFn3HDu3zGYtPLs1UNGzuJeHt23/vuf.U5LlxO', 'dave', '2016-06-25 04:48:56', '2016-06-25 04:48:56', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 353ms (Views: 343.3ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:48:58 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:48:58 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:59 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (29.2ms) Completed 200 OK in 48ms (Views: 47.2ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$aHSwuUrh8ODmHilTTCFT5.pJfd1KqrlgojVzC3dfOyYjf2u0aE6Ri', 'root', '2016-06-25 04:48:59', '2016-06-25 04:48:59', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$iZBaee4FNcw06nGstWlSjuF1Xj46b2NPbb.ylZ5Zd1PtWa2gvWBVK', 'dave', '2016-06-25 04:48:59', '2016-06-25 04:48:59', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.0ms) Completed 200 OK in 36ms (Views: 35.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:48:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 18ms (Views: 14.7ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:48:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:48:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:48:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:00 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:00 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:00 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.4ms) Completed 200 OK in 36ms (Views: 34.5ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:02 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:02 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:02 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 1.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:49:03 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:49:03 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (1.0ms) Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:49:03 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$F.IUTWE0OTJ3Q4u/1t0b5OrLvMiMplvVWCJnDUX3zVbErRAmU6h4e"], ["updated_at", "2016-06-25 04:49:03.264145"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 41ms (Views: 26.8ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:03 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:03 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.4ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:03 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.0ms) Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:05 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:06 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.8ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.1ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:06 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:06 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.8ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:06 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:06 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$oHpAMpgIuMovXzd1T4zAS.KT248oMijFDWRSqm0ikLgApwTFHMZ9i', 'root', '2016-06-25 04:49:14', '2016-06-25 04:49:14', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$jmy6AipHdthXJRAqIb7mseE1CbYnVPlOAVvEi48F1QDAqffEzmwRa', 'dave', '2016-06-25 04:49:14', '2016-06-25 04:49:14', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.7ms) Completed 200 OK in 355ms (Views: 344.5ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:49:16 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:49:16 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.2ms) Completed 200 OK in 45ms (Views: 44.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:17 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.2ms) Completed 200 OK in 46ms (Views: 42.7ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:17 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:18 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.2ms) Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:18 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.8ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 1.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:19 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.0ms) Completed 200 OK in 29ms (Views: 28.5ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:19 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:19 -0700  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$fYy1N8ARnfVQ.eLc8/fe8eZe7pZP2tOenNa0uuCMUxcfr417bQcL6', 'root', '2016-06-25 04:49:19', '2016-06-25 04:49:19', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$9cmOk29Lz9k6tXDDU7mEOOuh0sDa592vxNJBZZZwuKyqNhHsxkIyq', 'dave', '2016-06-25 04:49:19', '2016-06-25 04:49:19', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:20 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.6ms) Completed 200 OK in 34ms (Views: 32.1ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:22 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:22 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.8ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:49:22 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:49:22 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:49:22 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.5ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$N.48o8id9KwgxGCus.VxAeFBvhrzTM2BzCN3dKpP6EhCLE7X2UkZa"], ["updated_at", "2016-06-25 04:49:22.765996"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 27ms (Views: 14.2ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:22 -0700  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$OB0/rTBmMUOBGXM5N/4it.BfUqjsTXBaHrfqgsBu/r9jN6lDLgZGO', 'root', '2016-06-25 04:49:48', '2016-06-25 04:49:48', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$nJJSynoUxS4c.ptBN/4ZVOjZ8MyEkl91aANJyLdv7MnsL1d3NRxVS', 'dave', '2016-06-25 04:49:48', '2016-06-25 04:49:48', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.0ms) Completed 200 OK in 348ms (Views: 339.3ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:49:51 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:49:51 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:51 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (28.8ms) Completed 200 OK in 84ms (Views: 82.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:51 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.5ms) Completed 200 OK in 49ms (Views: 44.0ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:52 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.3ms) Completed 200 OK in 35ms (Views: 33.6ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:49:52 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 14ms (Views: 14.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:49:52 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:49:52 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$93p/5jqOHIkivsigcnw77ObBLuDgQIQFzsJNmZnhcm7b9qLLlMVSa"], ["updated_at", "2016-06-25 04:49:52.454639"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.5ms) Completed 200 OK in 30ms (Views: 15.7ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:52 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:56 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.5ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:57 -0700  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Ehu14BxlA.MSveRyqg2ulOuoGLdj7/LS6XAz/r8iCjuHst9r/Amdi', 'root', '2016-06-25 04:49:57', '2016-06-25 04:49:57', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$QFMYy5yjys7ahKyPFk1kBelGQPnGPYKnaFzAPdOUqYLtIeQqa94ey', 'dave', '2016-06-25 04:49:57', '2016-06-25 04:49:57', 227792459)  (1.0ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:57 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.3ms) Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms) Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:49:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:49:59 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$C21fvv4PlhAj0RqUKsejVeUeZiMpXmPX1jQYMN.4uIRpn9u9M5U7e', 'root', '2016-06-25 04:52:42', '2016-06-25 04:52:42', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$PCkACPXAp9q01rjWsZ9x4.Qi95GOuTvSp7Awszsxg1/tpRFVsAML6', 'dave', '2016-06-25 04:52:42', '2016-06-25 04:52:42', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (2.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms) Completed 200 OK in 360ms (Views: 349.2ms | ActiveRecord: 2.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:52:44 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:52:44 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:45 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (33.8ms) Completed 200 OK in 54ms (Views: 53.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$BC5tWMn3e4178lzbWX77bOZjnwMmXfVtPU798uz5YFBHZKTD2XAGu', 'root', '2016-06-25 04:52:45', '2016-06-25 04:52:45', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$xk.6FfFobbOb9LEaAEog/eFDHi2ZbY4db8olej1.Qf5UTwMIoQNhK', 'dave', '2016-06-25 04:52:45', '2016-06-25 04:52:45', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:45 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (6.5ms) Completed 200 OK in 31ms (Views: 28.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.4ms) Completed 200 OK in 42ms (Views: 41.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:52:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 25ms (Views: 21.0ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:46 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:46 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:52:46 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:46 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.6ms) Completed 200 OK in 31ms (Views: 30.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:47 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:49 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.1ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:52:49 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (9.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.1ms) Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 1.1ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:51 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.3ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:52:51 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:52 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:52:52 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:52 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.9ms) Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:52 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (20.0ms) Completed 200 OK in 43ms (Views: 41.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:52:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:54 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:52:54 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:52:55 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:52:55 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:52:55 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:52:55 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$HMXTDaIt0DXye7fPrssfz.LX5dVqE/oYOuXTgTTm8noLQIl20tuyy"], ["updated_at", "2016-06-25 04:52:55.521623"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.0ms) Completed 200 OK in 32ms (Views: 20.4ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$0HZaJzbTP12Z6mRNvyhvXOXppKqsThDu5/mvBfLBmgmo3cHZ08TV6', 'root', '2016-06-25 04:53:12', '2016-06-25 04:53:12', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$hhUph2usgYiuQLw4.JCv8Ov8Wazo6fFoHujtgOfdXJOvrKJ8dEm5W', 'dave', '2016-06-25 04:53:12', '2016-06-25 04:53:12', 227792459)  (1.1ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (18.8ms) Completed 200 OK in 387ms (Views: 378.6ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:53:14 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:53:14 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:14 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (28.8ms) Completed 200 OK in 75ms (Views: 74.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$R9iM19d5JgMKMCsrlFTB3eiiBSd0Zs0T8N3Nmwt7cpflmAiB6DvSC', 'root', '2016-06-25 04:53:15', '2016-06-25 04:53:15', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$8sEjIZyzUajE7cuO5BtXQ.BjRW.W8WaQGSMjwWgqXgohuzmMyYdFe', 'dave', '2016-06-25 04:53:15', '2016-06-25 04:53:15', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:15 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:15 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.5ms) Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:15 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:15 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.6ms) Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:15 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:15 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.9ms) Completed 200 OK in 43ms (Views: 42.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:16 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.5ms) Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:16 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (22.6ms) Completed 200 OK in 37ms (Views: 35.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:53:16 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:53:16 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:53:16 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.6ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$tVKoET61dZQrHd0Wrz1PiO6944UmgBXtBf.vHPsTFBhTYkpi.nTSm"], ["updated_at", "2016-06-25 04:53:16.643266"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.1ms) Completed 200 OK in 31ms (Views: 16.0ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.7ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.2ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (15.3ms) Completed 200 OK in 19ms (Views: 15.2ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.7ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.2ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:20 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.6ms) Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:22 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:22 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 23ms (Views: 22.7ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:22 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (3.5ms) Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:23 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.2ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$2KLFiJxKtJ4GrAPKdpdfb.XUI/hjvtEXklYMbGpCZjggjQ5aWqPZC', 'root', '2016-06-25 04:53:44', '2016-06-25 04:53:44', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$OG9nWgwqaHhv.aUyWCpk4u5g88PBzMEcPFb7p02eYDnJjEqFEKY.q', 'dave', '2016-06-25 04:53:44', '2016-06-25 04:53:44', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.3ms) Completed 200 OK in 364ms (Views: 353.3ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:53:46 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:53:46 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:47 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (27.5ms) Completed 200 OK in 54ms (Views: 53.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$19F.Z4GTUNVU18gMTJ8jaOOf7Z8vlC1D8ksqXoYNI0zDkXSoswBbu', 'root', '2016-06-25 04:53:47', '2016-06-25 04:53:47', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Bs3DI8.EpCtg.8Olb6wR1Ot3i5eTvW2tfEsbhU1THL8lihLRHFleu', 'dave', '2016-06-25 04:53:47', '2016-06-25 04:53:47', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.7ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:47 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.9ms) Completed 200 OK in 36ms (Views: 35.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:47 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 18ms (Views: 14.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:47 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms) Completed 200 OK in 20ms (Views: 19.6ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:47 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:48 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.1ms) Completed 200 OK in 36ms (Views: 33.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:50 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:50 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:50 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:53:50 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.9ms) Completed 200 OK in 15ms (Views: 15.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:53:50 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 17ms (Views: 17.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:53:50 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) BEGIN SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$UccnkM7AT9OjNUe/NzXhf.PD2fronxLfYO0u7qJTD336or12uWmD2"], ["updated_at", "2016-06-25 04:53:50.941092"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.4ms) Completed 200 OK in 31ms (Views: 15.7ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:51 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.1ms) Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:53 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:53 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:53 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:55 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.5ms) Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:56 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:56 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:56 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:56 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:53:56 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:53:56 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:53:56 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$QOLk8e6tYzqiE1O2rqylZe9cCiJOb1q.1P8iLjxsNjhrxxAUR5WtC', 'root', '2016-06-25 04:54:00', '2016-06-25 04:54:00', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$c6Rbol2UmvIpPBgl8Y42DudEYwRLxi0Ch4waZtWaN3s8tXrV7lSAC', 'dave', '2016-06-25 04:54:00', '2016-06-25 04:54:00', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.5ms) Completed 200 OK in 360ms (Views: 351.7ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:54:03 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:54:03 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:03 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (29.3ms) Completed 200 OK in 62ms (Views: 61.7ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$xQJ9I3a8TDVMAm1Dknve7uPB5E/fEexd2k3n5/1gXwPjXya6QoGh6', 'root', '2016-06-25 04:54:03', '2016-06-25 04:54:03', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$RH9QIv/Xhn.GPiBChAnOXuq6T/8X2Xk4MXmMHfYeY.fn/JhriIWl6', 'dave', '2016-06-25 04:54:03', '2016-06-25 04:54:03', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.7ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (17.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (43.9ms) Completed 200 OK in 62ms (Views: 61.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:04 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (3.3ms) Completed 200 OK in 54ms (Views: 42.3ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:04 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.8ms) Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.2ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:04 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:05 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.9ms) Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:05 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:05 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:05 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.2ms) Completed 200 OK in 32ms (Views: 29.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:54:05 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:54:05 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 17ms (Views: 17.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:54:05 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$cyoEB.WdFavlCz63brR60ul7ICLeJ46fuaTIjP18LoMPlLhW9JWx."], ["updated_at", "2016-06-25 04:54:06.011009"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.3ms) Completed 200 OK in 31ms (Views: 16.5ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (3.1ms) Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.5ms) Completed 200 OK in 27ms (Views: 26.1ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.5ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.4ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.1ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$DsWfnr7PUQI.ZBSam904MeUf68i0a48njfaFbhvO35Lc.2a5muM1G', 'root', '2016-06-25 04:54:37', '2016-06-25 04:54:37', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$kOkpwB1Mpd4T1nDCtP.k.uFyeKlKVbw1o4xFVFN.q/Xtxwo9E2M1q', 'dave', '2016-06-25 04:54:37', '2016-06-25 04:54:37', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.9ms) Completed 200 OK in 354ms (Views: 345.8ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:54:39 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:54:39 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:40 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (26.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (48.4ms) Completed 200 OK in 99ms (Views: 96.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:40 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.0ms) Completed 200 OK in 36ms (Views: 35.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:40 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 20ms (Views: 16.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:41 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.1ms) Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:54:41 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:54:41 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:54:41 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$/rAwnxCiyTSozLdINLC1MOUq93Q8SJxgV/mrUl5ujaRyou6znsshq"], ["updated_at", "2016-06-25 04:54:41.437351"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.2ms) Completed 200 OK in 27ms (Views: 15.9ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:43 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:43 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.4ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 1.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:43 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.7ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.8ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms) Completed 200 OK in 24ms (Views: 23.0ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:45 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:45 -0700  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$yST68lMpiMB9ZZ3IaGzy9uAaplUtjTrNThkzwSz1D9NXEdMhxQYxC', 'root', '2016-06-25 04:54:45', '2016-06-25 04:54:45', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$FpfQ1P92lQdrikYMeEBR1uY6VeZtG00jcxTb58E3IGkZ0ki6TQaqa', 'dave', '2016-06-25 04:54:45', '2016-06-25 04:54:45', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:45 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.2ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:54:45 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:45 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.8ms) Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:45 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:45 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:54:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:54:46 -0700  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ga29u7xCL2Z3meMdgvJQbOsKX.VHKsRV8DFgwDiWqxO2ylniy7hny', 'root', '2016-06-25 04:55:04', '2016-06-25 04:55:04', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$zyU3Iop0rhJ/k9/3mXi5ne858OPrnEaLg9oFENBrYGPxnK82dLFSC', 'dave', '2016-06-25 04:55:04', '2016-06-25 04:55:04', 227792459)  (2.1ms) COMMIT  (0.3ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (2.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (8.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (20.4ms) Completed 200 OK in 364ms (Views: 353.7ms | ActiveRecord: 2.6ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:55:06 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:55:06 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (28.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (42.5ms) Completed 200 OK in 72ms (Views: 71.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:55:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (29.9ms) Completed 200 OK in 47ms (Views: 43.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:55:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:55:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:08 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.9ms) Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:55:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:10 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (1.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:55:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:11 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.3ms) Completed 200 OK in 24ms (Views: 23.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:11 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.0ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:11 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:55:11 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:11 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.9ms) Completed 200 OK in 45ms (Views: 43.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:55:12 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:55:12 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:55:12 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$ms0hMuE/JCsWxyN1c4PoH.7OxRhr1wsGQt.UkdPHYJkDufRvKe3o6"], ["updated_at", "2016-06-25 04:55:12.321434"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.6ms) Completed 200 OK in 41ms (Views: 22.2ms | ActiveRecord: 7.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:12 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:14 -0700  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$vYRL0gdaMPeQuCTYN0zpVOnpKJ6.yN.wxJXxPGRhP9653AmWUiB0W', 'root', '2016-06-25 04:55:14', '2016-06-25 04:55:14', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$uZdFJG6ENcYEXgGQIv.j8uDFakMAmzjP5UDwzQzsbEOQKS9uhmBy.', 'dave', '2016-06-25 04:55:14', '2016-06-25 04:55:14', 227792459)  (1.0ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:55:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:55:15 -0700  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$4yxXLgiQyhcoBCVjO42eauSwXRHKwyQNWAcB/wxk1ecvIc.xet5A6', 'root', '2016-06-25 04:57:27', '2016-06-25 04:57:27', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ZuDuW9I7vgRnDo16UxwlL.kr3FSW/8k.4.XKwdj/nzIrYEGbnY.06', 'dave', '2016-06-25 04:57:27', '2016-06-25 04:57:27', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.9ms) Completed 200 OK in 360ms (Views: 351.3ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:57:29 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:57:29 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.8ms) Completed 200 OK in 41ms (Views: 40.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:57:30 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (24.7ms) Completed 200 OK in 43ms (Views: 39.0ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:30 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.5ms) Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:30 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (6.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 6.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:57:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:32 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.4ms) Completed 200 OK in 39ms (Views: 36.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:57:32 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.3ms) Completed 200 OK in 16ms (Views: 16.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:57:32 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:57:32 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$ULNQvwr4kwvcRMGeeYy5OudplsInZa0AJ4r8niR1wDxowsLhjaDqG"], ["updated_at", "2016-06-25 04:57:32.582827"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (4.5ms) Completed 200 OK in 34ms (Views: 18.3ms | ActiveRecord: 4.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:32 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:34 -0700  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$6xuaY5t.TpV/1/WTzs953uaAZ3AnkbOPVmqjvR7hAxVfYz7rafrJ.', 'root', '2016-06-25 04:57:35', '2016-06-25 04:57:35', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$.UL4XAkdOqQpq9.l4vNQKusrUu2.l5JErzcdRY0qFtmFt.EgeP5Pm', 'dave', '2016-06-25 04:57:35', '2016-06-25 04:57:35', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:35 -0700  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:35 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:57:35 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:35 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:57:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:57:35 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.5ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$P.t/CyOrVyQJA24N9sRWg.iyz83Fm8/AzPE02Tb3blyoATgoG83O6', 'root', '2016-06-25 04:57:58', '2016-06-25 04:57:58', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$KW48cc7V2H1YwyyLcPHEQeD5bc2sCegR7N3rUZ9wYTVoJjN2.2InW', 'dave', '2016-06-25 04:57:58', '2016-06-25 04:57:58', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 357ms (Views: 345.3ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:58:01 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:58:01 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.9ms) Completed 200 OK in 44ms (Views: 43.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.8ms) Completed 200 OK in 47ms (Views: 43.9ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:04 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:04 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:04 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.8ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:04 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"satellites/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (3.3ms) Completed 200 OK in 20ms (Views: 19.7ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$w/o3BMpBD5ucS9mfv.xVfe1KjdTb8cQyqncsyYnEBsTBSimzD3lJu', 'root', '2016-06-25 04:58:06', '2016-06-25 04:58:06', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$7ngmUL7AWwgiblHE59BqiuvncfAIZo4AlhdcWDGsE2HnFV726p3k2', 'dave', '2016-06-25 04:58:06', '2016-06-25 04:58:06', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:06 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.1ms) Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.5ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.5ms) Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:08 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:08 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:08 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.7ms) Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:58:08 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.8ms) Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:58:08 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 15ms (Views: 15.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:58:08 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$vpTagE9MHsXCq2/u3Ol0JOmglqnFXr1hJugrcShYN9MRDFdXbQY6S"], ["updated_at", "2016-06-25 04:58:08.655325"], ["id", 227792459]]  (1.0ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 26ms (Views: 14.5ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:08 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:11 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"satellites/clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.2ms) Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Pn7aaQh27vNf5mCz8alMW.ibOkeBVzTBaThh7pwh77EggVpkAt6oe', 'root', '2016-06-25 04:58:15', '2016-06-25 04:58:15', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$n0NlHyqOFCY0idXjDrt17eSESyi8.h4Vtl5fF2kyaxScyLM2un266', 'dave', '2016-06-25 04:58:15', '2016-06-25 04:58:15', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.8ms) Completed 200 OK in 346ms (Views: 337.0ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:58:18 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:58:18 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:18 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (28.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (59.9ms) Completed 200 OK in 81ms (Views: 79.9ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.8ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$1k11XhGtsvjQx6ytGJpy4ORaVQ9FdVbikX891BKpahNaxvohkrF.y', 'root', '2016-06-25 04:58:18', '2016-06-25 04:58:18', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$PwuIcsL8ixaaAqlDGg5tKeceRr0i3NSl0QQ6CQUe6xy4hYPyz4nnO', 'dave', '2016-06-25 04:58:18', '2016-06-25 04:58:18', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.9ms) Completed 200 OK in 39ms (Views: 38.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 18ms (Views: 14.8ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:20 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:20 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.7ms) Completed 200 OK in 23ms (Views: 21.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.1ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:22 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:22 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:23 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.5ms) Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:23 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.0ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:23 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.3ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:23 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.2ms) Completed 200 OK in 34ms (Views: 32.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:25 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:26 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:26 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:58:26 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 15.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:58:26 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:58:26 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (1.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.3ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$51ltqQ9ZAu.26coB4V3DzeoonQTuyyIWXaD.P66OeMqeegkLiGiA."], ["updated_at", "2016-06-25 04:58:26.574904"], ["id", 227792459]]  (1.0ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.4ms) Completed 200 OK in 28ms (Views: 15.8ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$LOPeLjOir7sSAS5Wy7HbIuVmCZGR4y1uT4lGyBkJEczmNppKfqCXy', 'root', '2016-06-25 04:58:31', '2016-06-25 04:58:31', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$N4aE4B0agIax6HWgeqhNKO/kvtPFS0qU.Hb1q9Rw5OCVaK7sHMW6O', 'dave', '2016-06-25 04:58:31', '2016-06-25 04:58:31', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.4ms) Completed 200 OK in 367ms (Views: 356.9ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:58:34 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:58:34 -0700 LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:34 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (45.4ms) Completed 200 OK in 82ms (Views: 81.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:34 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.3ms) Completed 200 OK in 47ms (Views: 42.4ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:34 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.9ms) Completed 200 OK in 36ms (Views: 32.7ms | ActiveRecord: 1.0ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:58:35 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:58:35 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:58:35 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$alLTYpMvCqvzYvAoh0NvAe.wUssxGuUe./8dKcrSuQDv0ovwCdCDS"], ["updated_at", "2016-06-25 04:58:35.388229"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.1ms) Completed 200 OK in 30ms (Views: 16.2ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:35 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:37 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.9ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.6ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3B2Yi0pJdjFltmRijAYAK.ZPxRRXuRDTlx0SkvY9/ACFrTmsWUzS.', 'root', '2016-06-25 04:58:39', '2016-06-25 04:58:39', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$LoLD.eerDKY0Jk/Z3DZGnOk9TqqNIG8A6VmyY4.RDaQb7Rr86RfVi', 'dave', '2016-06-25 04:58:39', '2016-06-25 04:58:39', 227792459)  (1.1ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:40 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (3.0ms) Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:42 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.3ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:42 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:42 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:42 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:42 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.4ms) Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.8ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:44 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:44 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 1.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:44 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$Szp2SBD7VHduOKS5oV52yu7uFVBqUOlWU5NpPSVu4o5JLka4X/XKa', 'root', '2016-06-25 04:58:48', '2016-06-25 04:58:48', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$PR7nM8UtaFG7mUCh2TlK/ur5e9Rfq1amTONlHtIxrhgMNnvWkz9He', 'dave', '2016-06-25 04:58:48', '2016-06-25 04:58:48', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 339ms (Views: 329.9ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:58:51 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:58:51 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:51 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (37.3ms) Completed 200 OK in 126ms (Views: 125.2ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$stbVRaIHGfvboiEO.WePFOiUQgm2aIVw0FQ4eViIDrYRXrN0HjXyK', 'root', '2016-06-25 04:58:51', '2016-06-25 04:58:51', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Y.xqK/o0P13cQSIdkRQizu6zRE4DRDdEVOwSoHsL2u7YPhXD1j1E6', 'dave', '2016-06-25 04:58:51', '2016-06-25 04:58:51', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:52 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.8ms) Completed 200 OK in 40ms (Views: 39.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:52 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 19ms (Views: 14.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:52 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.5ms) Completed 200 OK in 34ms (Views: 32.6ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:58:52 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.0ms) Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:58:52 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 16.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:58:52 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$x/kLZipXx5VvOn33ISDrX.Xo5abgP/aYD..tHahgt8/vSfHORDrnS"], ["updated_at", "2016-06-25 04:58:52.922944"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.6ms) Completed 200 OK in 27ms (Views: 16.0ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:53 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:55 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (3.4ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.8ms) Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:58:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:58:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:58:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms) Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.7ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:01 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:03 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$59itp3fkyOxws9Ao2XuimujfkKbiNu/561H9n/tqnbnMPILVAXuFy', 'root', '2016-06-25 04:59:09', '2016-06-25 04:59:09', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$qLlLh8KM4hLXfsJohCEP.OJSgfE79d.9o5i/7F5msNfUmSdVqb2Wi', 'dave', '2016-06-25 04:59:09', '2016-06-25 04:59:09', 227792459)  (1.4ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.8ms) Completed 200 OK in 353ms (Views: 344.8ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:59:11 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:59:11 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:12 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (18.2ms) Completed 200 OK in 39ms (Views: 38.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:12 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.9ms) Completed 200 OK in 46ms (Views: 42.7ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:12 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.1ms) Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:12 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:12 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:13 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:13 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.5ms) Completed 200 OK in 33ms (Views: 30.5ms | ActiveRecord: 0.8ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:59:13 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:59:13 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:59:13 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$yA02vc/IS83It0.pY1Yp.uH5fzhB4vMptpKRZVDkhhf23/nT/v5Me"], ["updated_at", "2016-06-25 04:59:13.584726"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.9ms) Completed 200 OK in 32ms (Views: 15.6ms | ActiveRecord: 5.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:13 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:15 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 1.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.8ms) Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3XyAHZ9FOETC4XWpzzQe2eeC6/3irJ54Sa4UhbqQ7cZcRBvGNBTPu', 'root', '2016-06-25 04:59:18', '2016-06-25 04:59:18', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$yRkyfOnfkc5wxxjEsfDXEOqSzE4qDuiEEnEBclZg0LpBQW0Huq28q', 'dave', '2016-06-25 04:59:18', '2016-06-25 04:59:18', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.4ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:19 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.2ms) Completed 200 OK in 24ms (Views: 23.4ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:19 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.2ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:19 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.5ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$v4PyjzZ3cHdn.rduaUi99OQ4NALGWkxVg08MbFhN1SW11H8y5.L76', 'root', '2016-06-25 04:59:40', '2016-06-25 04:59:40', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$bvxOiFi1yRtYn6RNEbc0xuun5tW1KgBKcR./ekIytpN/7oLNgBTYO', 'dave', '2016-06-25 04:59:40', '2016-06-25 04:59:40', 227792459)  (1.0ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.6ms) Completed 200 OK in 350ms (Views: 341.2ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:59:42 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:59:42 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:42 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (7.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.0ms) Completed 200 OK in 40ms (Views: 39.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:43 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.5ms) Completed 200 OK in 47ms (Views: 42.3ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:43 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.4ms) Completed 200 OK in 37ms (Views: 35.6ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 21:59:43 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 21:59:43 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 21:59:43 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$yIXUirVH6Jq6XMnvT0bCcuxVxANE/A7M4hyXe5TfDbV6QcXHwCIW6"], ["updated_at", "2016-06-25 04:59:43.778052"], ["id", 227792459]]  (1.3ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 30ms (Views: 15.5ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:44 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:46 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:48 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:48 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 1.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:48 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:48 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (12.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (12.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (12.7ms) Completed 200 OK in 17ms (Views: 13.1ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:48 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:48 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.5ms) Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$SrtDh8yr0UTSpk20DxAG7OGw6noW/o9YoDlKp5arU7i4tcluzeCUe', 'root', '2016-06-25 04:59:49', '2016-06-25 04:59:49', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$VtPGP1qJl8/2/YUNRwp7CulTtgN2vYv2DpRXvFxEWWg0ohfJdRqci', 'dave', '2016-06-25 04:59:49', '2016-06-25 04:59:49', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.2ms) Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:49 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:50 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:50 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms) Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:50 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:50 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.2ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$EmQXUVuyRzs7bAbr/qvhLek9QdtcmY6d6GcmBXJzAqi.hf6xi6gmG', 'root', '2016-06-25 04:59:55', '2016-06-25 04:59:55', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$584VfdBSuwBug0DQ.PKsVeeeKZlE1EmX6.ETczWHt5FjiW3/9dWlG', 'dave', '2016-06-25 04:59:55', '2016-06-25 04:59:55', 227792459)  (1.0ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.1ms) Completed 200 OK in 344ms (Views: 335.4ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 21:59:57 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 21:59:57 -0700 LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:58 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.8ms) Completed 200 OK in 42ms (Views: 42.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 21:59:58 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.0ms) Completed 200 OK in 47ms (Views: 43.0ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:58 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 21:59:58 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.0ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 21:59:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (2.0ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.4ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.8ms) Completed 200 OK in 18ms (Views: 17.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$4T8SXuegaAOvQeocRP8fm.tlJyNkxtzKEETjJxEQqCcSg8y9W7Unu', 'root', '2016-06-25 05:00:02', '2016-06-25 05:00:02', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$fiwipW0P8c22mwLW2ydApeaU5NPQLrNNBsU7b.GT44GC1Ayw4MYf.', 'dave', '2016-06-25 05:00:02', '2016-06-25 05:00:02', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.0ms) Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms) Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:03 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:03 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:03 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.3ms) Completed 200 OK in 35ms (Views: 33.4ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:00:03 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:00:03 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:00:03 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.3ms) BEGIN SQL (0.9ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$bSd1EQJztIp.UjsHI2BPquZgnu/SE7z4qa.g79eYyGTwduhpVimpi"], ["updated_at", "2016-06-25 05:00:03.697822"], ["id", 227792459]]  (1.0ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 29ms (Views: 16.0ms | ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:03 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$dUCQ13OyHCl363aTUXX/5uvaT2npYgFBXuI831tvsnGLoswHzarW2', 'root', '2016-06-25 05:00:11', '2016-06-25 05:00:11', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$126Y2GFNKSmCb2nY0BG0B.Z/diRqEaXnafbKincR9iwyHKxhRIjV2', 'dave', '2016-06-25 05:00:11', '2016-06-25 05:00:11', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.0ms) Completed 200 OK in 356ms (Views: 347.0ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:00:13 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:00:13 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:14 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (20.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (32.4ms) Completed 200 OK in 61ms (Views: 60.5ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.7ms) Completed 200 OK in 37ms (Views: 36.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:14 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 18ms (Views: 15.0ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:14 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:15 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:15 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:15 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.9ms) Completed 200 OK in 37ms (Views: 35.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:00:15 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:00:15 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:00:15 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$bDU8MdrQzBywjM5bngtcduGzsIrGUtdjUAsYvtbgYKd4LedRh3v16"], ["updated_at", "2016-06-25 05:00:15.773113"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.3ms) Completed 200 OK in 33ms (Views: 17.0ms | ActiveRecord: 5.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:15 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:15 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:18 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.9ms) Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$GqrQ67ZlTqrfijF6rHSRQuMYObBsRweO.QMg76uTERM0NWy3BQqrK', 'root', '2016-06-25 05:00:20', '2016-06-25 05:00:20', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ZXMrk2g6msVS9O9U8K6aIuFhrvV8tBlDV.1tAPcxjN4TTqt6xBVtu', 'dave', '2016-06-25 05:00:20', '2016-06-25 05:00:20', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:20 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.6ms) Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:22 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:22 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.4ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:23 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.9ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ZFqgXAMyHw4wwLqTSPU7vucGdYywn6FDfzseJpUKyZft6gCrO5MHS', 'root', '2016-06-25 05:00:29', '2016-06-25 05:00:29', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$MBWqxf722W4JGgJ9DqlQ7eZ5TllrBxzHU0iYpHFwn1A1noBWxzoW2', 'dave', '2016-06-25 05:00:29', '2016-06-25 05:00:29', 227792459)  (1.0ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.5ms) Completed 200 OK in 355ms (Views: 345.1ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:00:31 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:00:31 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:31 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (28.3ms) Completed 200 OK in 48ms (Views: 46.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$rsVbl2QOnaXr0qDB71n4z.t5Odf.8TSCzbohCOAlHT576tloperWG', 'root', '2016-06-25 05:00:32', '2016-06-25 05:00:32', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$UV8DwgT1VXPZM5rLzqN35.ehmVOaRR8.9MReC5470paG.tqFPVQz2', 'dave', '2016-06-25 05:00:32', '2016-06-25 05:00:32', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:32 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.5ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:32 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.7ms) Completed 200 OK in 38ms (Views: 37.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:32 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 19ms (Views: 15.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:32 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.6ms) Completed 200 OK in 30ms (Views: 27.9ms | ActiveRecord: 1.1ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:00:33 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:00:33 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:00:33 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.4ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$kYVLTwibQYEZJIl81fCw8ezttCePn248ZwwvXjh4ZAQIic8Yxs6eu"], ["updated_at", "2016-06-25 05:00:33.367026"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 30ms (Views: 15.1ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:33 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.9ms) Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:35 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:35 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:36 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:36 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.0ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:36 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:36 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:36 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.7ms) Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:38 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:38 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:39 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:41 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:41 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:41 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.1ms) Completed 200 OK in 19ms (Views: 18.7ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:41 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.2ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$dGpqIMfkt5YJGEVOnYZh2uRFMZll7W6brsUMWd54S6Dg32w4Jkns.', 'root', '2016-06-25 05:00:47', '2016-06-25 05:00:47', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$u7NgXSS9aN27pv/ZfaQS7.FTNxSN2K/d/q3.viTt4WJFe4Ae4AFfO', 'dave', '2016-06-25 05:00:47', '2016-06-25 05:00:47', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:48 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.9ms) Completed 200 OK in 349ms (Views: 339.9ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:00:49 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:00:49 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:49 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (29.2ms) Completed 200 OK in 59ms (Views: 57.9ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:49 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.8ms) Completed 200 OK in 39ms (Views: 38.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:50 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 19ms (Views: 15.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:50 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:50 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$YHbIhUcizbfw9i9V0tuYVuJ2E5h98DD1EAAJIRoKL/54s9zBFxr16', 'root', '2016-06-25 05:00:52', '2016-06-25 05:00:52', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$HRHB5Y6Yh/HdtnISVYqrluY7bsWd0iF1/wqPbV7V5Xqi3w3kkOIRS', 'dave', '2016-06-25 05:00:52', '2016-06-25 05:00:52', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:52 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (3.3ms) Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:53 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.6ms) Completed 200 OK in 37ms (Views: 35.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:55 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:55 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:55 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:00:55 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:00:55 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:00:55 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.4ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$jVAQpPPwrHiJ3lfQt3euJO3HjTrK9uzc3bZismo0OMKQtCD6P/LuO"], ["updated_at", "2016-06-25 05:00:55.820750"], ["id", 227792459]]  (1.0ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.4ms) Completed 200 OK in 28ms (Views: 15.9ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:55 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:56 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:56 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:56 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:58 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:58 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:58 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:00:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:00:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:00:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$sjEoENQVNI/q1zhA8UAb7OmGXiS/RlxJqrMJ0VvDtymC2hthKPDZ6', 'root', '2016-06-25 05:02:19', '2016-06-25 05:02:19', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$F0EHE20OR0yXTWAqIROMRe4HstNcsLM6c0l13ob7W9ewHfhR4q14C', 'dave', '2016-06-25 05:02:19', '2016-06-25 05:02:19', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (19.5ms) Completed 200 OK in 355ms (Views: 346.3ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:02:21 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:02:21 -0700 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:22 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (26.8ms) Completed 200 OK in 59ms (Views: 58.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:02:22 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.0ms) Completed 200 OK in 46ms (Views: 42.9ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:22 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.4ms) Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:22 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:22 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (1.9ms) Completed 200 OK in 29ms (Views: 27.4ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:02:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:23 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.2ms) Completed 200 OK in 35ms (Views: 33.4ms | ActiveRecord: 0.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:02:23 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:02:23 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.9ms) Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:02:23 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$5HyWSdNy/dnDZWPqAL8JC.ATDxCNTYq0H2E0Tq6GiCxbAW9bCTl6q"], ["updated_at", "2016-06-25 05:02:23.912070"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.8ms) Completed 200 OK in 35ms (Views: 16.1ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:26 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:02:26 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:26 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:02:26 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:26 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:02:26 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.5ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:27 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.6ms) Completed 200 OK in 19ms (Views: 18.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ekfHIoxLoj1O3s4RtZT0E.SyC0F.B6whHXxbfBK8Kr7IgEu9XIo.u', 'root', '2016-06-25 05:02:27', '2016-06-25 05:02:27', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$EvClX5qRDteuRyLJ1/d.YeTHVAAusUpqSeVIxjI.9DhH4we7L3E2C', 'dave', '2016-06-25 05:02:27', '2016-06-25 05:02:27', 227792459)  (1.2ms) COMMIT  (0.2ms) ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:27 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.3ms) Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:29 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.5ms) Completed 200 OK in 21ms (Views: 20.6ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:02:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:29 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:02:29 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:02:29 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLunarShellUsers (20160616015436)  (0.1ms) BEGIN  (3.0ms) CREATE TABLE "lunar_shell_users" ("id" serial primary key, "username" character varying(32) NOT NULL, "password_digest" character varying NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "index_lunar_shell_users_on_username" ON "lunar_shell_users" ("username") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160616015436"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'lunar_shell_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$NPtDmSGqlSH9AviqxM0N4uC.D9hhTCZ6z2/luW/e2IAUPHuV.CeJW', 'root', '2016-06-25 05:11:02', '2016-06-25 05:11:02', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$S95SJ0MOX/Ec2GlYM7Vi7e.6C/DkFk.2s/JP7U8MSFMDxmiRyCSSS', 'dave', '2016-06-25 05:11:02', '2016-06-25 05:11:02', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.8ms) Completed 200 OK in 448ms (Views: 439.3ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:11:04 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:11:04 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:05 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (26.6ms) Completed 200 OK in 50ms (Views: 48.4ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:05 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:05 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.6ms) Completed 200 OK in 40ms (Views: 39.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:11:05 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 19ms (Views: 15.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:05 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.1ms) Completed 200 OK in 33ms (Views: 30.6ms | ActiveRecord: 0.8ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:11:06 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:11:06 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:11:06 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$MTyJ8tuhQKH1Netv4viBQeqovGrLVVVyzVMIkbmUYDEi8Mr4JYwzW"], ["updated_at", "2016-06-25 05:11:06.313875"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 26ms (Views: 15.0ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:06 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.8ms) Completed 200 OK in 19ms (Views: 18.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$o41UCekQgPeA7h28bmEQE.PvXpM8GjZpvF/6WIW.SHq/OZJOjQDKy', 'root', '2016-06-25 05:11:06', '2016-06-25 05:11:06', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$RL8llT/ySFXPDtzNmXwzlud/ijlEQ0L26lxYhULOqfytO5.kgvcs.', 'dave', '2016-06-25 05:11:06', '2016-06-25 05:11:06', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:06 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:11:06 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:07 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms) Completed 200 OK in 20ms (Views: 19.6ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:07 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:07 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.5ms) Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:09 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:11:09 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:09 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.5ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:11:10 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$oVelXjUt37ZRwGWS7gIvNO7ZogttyN9GczxUNC9YAaamIlJoF/v7a', 'root', '2016-06-25 05:15:15', '2016-06-25 05:15:15', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$4WresFY5vGtfse72CBQujulmHdQdkrmsZHh4SqHUuBOStTJ2w9/AC', 'dave', '2016-06-25 05:15:15', '2016-06-25 05:15:15', 227792459)  (1.1ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.0ms) Completed 200 OK in 416ms (Views: 407.5ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:15:17 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:15:17 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.8ms) Completed 200 OK in 42ms (Views: 41.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.3ms) Completed 200 OK in 47ms (Views: 43.1ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:18 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.9ms) Completed 200 OK in 36ms (Views: 33.8ms | ActiveRecord: 0.6ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:15:18 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:15:18 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:15:19 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$3w6UnPL3clyCVRhCFkap0udkRcpyUfSxVegy5ZLW9FD1HmDrM3n76"], ["updated_at", "2016-06-25 05:15:19.125479"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 33ms (Views: 18.2ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:19 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:21 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:21 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:21 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms) Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:23 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.5ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.3ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.0ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.2ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$puAaPob270Z4CAchIlbpH.QYlid.G5EHJogA0IWt7u1jJQrZ9xnea', 'root', '2016-06-25 05:15:25', '2016-06-25 05:15:25', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$5uZO1QUOpFMnd7ZOq5GUwuWj3QjV3uxL7XoRsEzpkxW6nOeh/0OSK', 'dave', '2016-06-25 05:15:25', '2016-06-25 05:15:25', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:25 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.4ms) Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$mNMEZ5z/bGh74lp51aQIUOxj0BIQEyoLvg5AHeBS4xOQ8wLWQ1GLu', 'root', '2016-06-25 05:15:40', '2016-06-25 05:15:40', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$47MpKdYy5Co0Ghs7G1H.1ORJaNhgrfHWJ43NviYhYDGIrHTtrgiPq', 'dave', '2016-06-25 05:15:40', '2016-06-25 05:15:40', 227792459)  (1.4ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.3ms) Completed 200 OK in 427ms (Views: 418.6ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:15:43 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:15:43 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:43 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (28.1ms) Completed 200 OK in 47ms (Views: 46.0ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$QCmFzSoDUsrz8Nf3A6veO.ytN6y0gHli3ydyAMzypupsOe2odwP12', 'root', '2016-06-25 05:15:43', '2016-06-25 05:15:43', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$yDJyXToyk0vY52I9b7Fyr.AvWf/ffw701gNXVyaRz9WD4uvdeJbpK', 'dave', '2016-06-25 05:15:43', '2016-06-25 05:15:43', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:44 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (19.8ms) Completed 200 OK in 37ms (Views: 37.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:44 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 22ms (Views: 17.5ms | ActiveRecord: 1.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:44 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.0ms) Completed 200 OK in 36ms (Views: 34.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:15:44 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:15:44 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:15:44 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$nMeJ5.o6s.Aq5xlITYPYQuABhMpKZkEqqafEal9bQfE.hDkghJW6y"], ["updated_at", "2016-06-25 05:15:44.830295"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 28ms (Views: 15.5ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:44 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:45 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:47 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:47 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:47 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.8ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:47 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:49 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.1ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:49 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:49 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.9ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (2.1ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.3ms) Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:50 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms) Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:51 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:51 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:51 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$vbJY9IQwdAx44qUa54eEhOSYDBQIPQ1wkOak0XGVHIcQqZ73Cb.Am', 'root', '2016-06-25 05:15:55', '2016-06-25 05:15:55', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$0IpeqyO7o5gC5PGcx/W4Bu09hS61U4F3ZKsgh1t45KDIumUY93vya', 'dave', '2016-06-25 05:15:55', '2016-06-25 05:15:55', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.0ms) Completed 200 OK in 423ms (Views: 414.6ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:15:58 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:15:58 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:58 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (29.7ms) Completed 200 OK in 48ms (Views: 47.5ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$2nRd3/7PGRlzUk72udZfe.E7vMOCQ3NhWEGG8qcDXrVHKUoDmOdhi', 'root', '2016-06-25 05:15:58', '2016-06-25 05:15:58', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$GoeFUEsvY.nHhy85VyU5NuTjHE1MwLGoOmx/JYNxfLucrIoMVxuRa', 'dave', '2016-06-25 05:15:58', '2016-06-25 05:15:58', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.8ms) Completed 200 OK in 38ms (Views: 38.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 21ms (Views: 16.5ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.5ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:15:59 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:15:59 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:15:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:00 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.8ms) Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:02 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:02 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:02 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:02 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.6ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:02 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.9ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.0ms) Completed 200 OK in 37ms (Views: 34.9ms | ActiveRecord: 0.8ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:16:03 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 14.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:16:04 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:16:04 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$QzlgAdV/vgV02i/.12ahKOxbgMedlUMdy3MAXC2UciUM.8u.amfum"], ["updated_at", "2016-06-25 05:16:04.186693"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 27ms (Views: 15.2ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:04 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$4/QiGyN5yt21T7KQ8nrlhOAl9rlalJS0xLaD33YTOWMSJUe/PBoSO', 'root', '2016-06-25 05:16:21', '2016-06-25 05:16:21', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$LzE2ASG1ifghbCROOj4m6uLBnlxtokOO1oFNB/aVC5CUiFYGeeCAa', 'dave', '2016-06-25 05:16:21', '2016-06-25 05:16:21', 227792459)  (1.3ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.5ms) Completed 200 OK in 428ms (Views: 418.8ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:16:24 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:16:24 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:24 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/no_user_error.js.erb (30.6ms) Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:25 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.1ms) Completed 200 OK in 44ms (Views: 43.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:25 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 21ms (Views: 17.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:25 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.5ms) Completed 200 OK in 33ms (Views: 30.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:16:25 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:16:25 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:16:25 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$Qk8JZm35V9Qoloo6RQ.wvenIw7tKgAdWXFV9KtOrynndAaPUE0ZQC"], ["updated_at", "2016-06-25 05:16:25.983128"], ["id", 227792459]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.0ms) Completed 200 OK in 27ms (Views: 15.4ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:26 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.5ms) Completed 200 OK in 19ms (Views: 18.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$TlIza3AZNtv2zmXgxZSoiuauzKNFlA1kaPk3mbNw6gd3u/j4DhfC6', 'root', '2016-06-25 05:16:26', '2016-06-25 05:16:26', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Y6z3akOzftOgzXZp1exhf.p2WfAxy0fOSAAsXduRUdpLjaRNvMZeG', 'dave', '2016-06-25 05:16:26', '2016-06-25 05:16:26', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:26 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.8ms) Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:28 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.3ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:30 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.5ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.8ms) Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:32 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:32 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:16:32 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:32 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms) Completed 200 OK in 23ms (Views: 22.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:16:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:16:32 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.2ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$vvCQjKjS8LFWFiEyMHwXieNWb68l2Cvwcwg4mMRnTvWksUI.WCPrW', 'root', '2016-06-25 05:17:28', '2016-06-25 05:17:28', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$fVkT3YSZnrRbQhVOC2Po5ez/jnoSbE1tv5ddR0IWf/ZpKQMnNevPu', 'dave', '2016-06-25 05:17:28', '2016-06-25 05:17:28', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (11.8ms) Completed 200 OK in 425ms (Views: 416.8ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-24 22:17:31 -0700 Started GET "/assets/lunar_shell/application-36025d8c0a9dc5e02dff01be94b7dd2d7735375d8bbe4588cf93cfad16fb409c.js" for 127.0.0.1 at 2016-06-24 22:17:31 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:31 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (18.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (32.8ms) Completed 200 OK in 60ms (Views: 58.8ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:32 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.1ms) Completed 200 OK in 38ms (Views: 38.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:17:32 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.4ms) Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:32 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:32 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.5ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:17:33 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:33 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.0ms) Completed 200 OK in 36ms (Views: 33.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-24 22:17:33 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-24 22:17:33 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-24 22:17:33 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$yADkXPmMXgjIFKCdZWH.gOjDB.myVysOgfUmY.R3qNImhIGH9SLF6"], ["updated_at", "2016-06-25 05:17:33.608242"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.4ms) Completed 200 OK in 30ms (Views: 15.4ms | ActiveRecord: 5.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:33 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:35 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:17:36 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.5ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 1.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:36 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:38 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:38 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:17:38 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:38 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:17:38 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:39 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-24 22:17:39 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:39 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.8ms) Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$WGXVW4WJ85AGDoa3vNSEFuOLKx2C1CumfnQ7aGCgLqdmr1m1ZFBqu', 'root', '2016-06-25 05:17:39', '2016-06-25 05:17:39', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$SbCI7sWWu3h6NqcZUnaCLeEPEPuL7.oXNAyrbFEwqzcAUw6dHyczu', 'dave', '2016-06-25 05:17:39', '2016-06-25 05:17:39', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-24 22:17:39 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-24 22:17:39 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.8ms) Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$D80yziYp9.Ek5SIyytn/ceEf538CcS5W9Q9e7gTwTOs40nn.UZFJm', 'root', '2016-06-25 08:23:19', '2016-06-25 08:23:19', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$SrpQ51i7LLA06dNzoByZZe8jO.U6rugiE/sTimNlhuszqkp1bVb9O', 'dave', '2016-06-25 08:23:19', '2016-06-25 08:23:19', 227792459)  (67.5ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:21 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.1ms) Completed 200 OK in 1110ms (Views: 1099.6ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-8145ea00069185955ed4cf2aed025a5bb0058ff13785065d61ce19c96c27fb6a.js" for 127.0.0.1 at 2016-06-25 01:23:22 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:23:22 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:22 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (27.7ms) Completed 200 OK in 52ms (Views: 49.8ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:23 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.0ms) Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$8dxkyKZxMyPJ4HJpRILMTeuRE4uV6S9rshqDCVZATj8seBHzmnTGm', 'root', '2016-06-25 08:23:23', '2016-06-25 08:23:23', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$zGizbkg7vLp8JFxfUETfWeLNG6wT0PGg/0uNXG6cVA/ncRk18isJS', 'dave', '2016-06-25 08:23:23', '2016-06-25 08:23:23', 227792459)  (0.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:23 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (3.5ms) Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:23 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (8.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.3ms) Completed 200 OK in 43ms (Views: 42.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:23:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.8ms) Completed 200 OK in 23ms (Views: 19.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:23:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:23:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:25 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.5ms) Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:27 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:23:27 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:27 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.8ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:27 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:28 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.8ms) Completed 200 OK in 38ms (Views: 36.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:23:30 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:30 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 01:23:30 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.9ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 01:23:30 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 01:23:30 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.5ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$zOZZXw30.jgGfEcC/nv91OeU5bFL8Y8KLpuIGiaE7kzyTtaTLZWpW"], ["updated_at", "2016-06-25 08:23:30.878489"], ["id", 227792459]]  (5.7ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 36ms (Views: 17.8ms | ActiveRecord: 7.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:23:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.5ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:31 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:33 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$ZjxA7SF9JH8m63uZyU4I..oJN4yvbNIlHQ9FvvEfOZQ1kTfdrmOtq', 'root', '2016-06-25 08:23:41', '2016-06-25 08:23:41', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$R9ztOeZg12.ZSKCRwwTPgeSNk2DtQILv/qCmIJY0tGqefkEHmfiKy', 'dave', '2016-06-25 08:23:41', '2016-06-25 08:23:41', 227792459)  (5.9ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:23:43 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (5.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (7.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.8ms) Completed 200 OK in 524ms (Views: 514.7ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:23:44 -0700 Started GET "/assets/lunar_shell/application-8145ea00069185955ed4cf2aed025a5bb0058ff13785065d61ce19c96c27fb6a.js" for 127.0.0.1 at 2016-06-25 01:23:44 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:44 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (29.0ms) Completed 200 OK in 53ms (Views: 50.8ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:23:45 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$5QWOnLeX4J1Fx3CTLE5C8uQsmsvRkylYW56x19NH2PkUeBWPCiOdO', 'root', '2016-06-25 08:24:07', '2016-06-25 08:24:07', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$T/1tP85Te8yhrAv0kgMl1eyJS9yLgayrLHp/pmUx90pBfc/Os89HK', 'dave', '2016-06-25 08:24:07', '2016-06-25 08:24:07', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:24:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.3ms) Completed 200 OK in 460ms (Views: 450.4ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:24:10 -0700 Started GET "/assets/lunar_shell/application-8145ea00069185955ed4cf2aed025a5bb0058ff13785065d61ce19c96c27fb6a.js" for 127.0.0.1 at 2016-06-25 01:24:10 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:24:10 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (27.5ms) Completed 200 OK in 51ms (Views: 48.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:24:11 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.3ms) Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.9ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:24:11 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms) Completed 200 OK in 20ms (Views: 19.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$3W5TtFMNU7mmtAlJGlD0GeEVZn46yPJRq0qVo9BwjOK/Ws/LUgm3C', 'root', '2016-06-25 08:25:02', '2016-06-25 08:25:02', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$8OJqm.s6ns6C0w/PdNJCVeFkPygHfArqkko2VxAA4hI3oPLovisyi', 'dave', '2016-06-25 08:25:02', '2016-06-25 08:25:02', 227792459)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:25:03 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 464ms (Views: 454.9ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:25:04 -0700 Started GET "/assets/lunar_shell/application-8145ea00069185955ed4cf2aed025a5bb0058ff13785065d61ce19c96c27fb6a.js" for 127.0.0.1 at 2016-06-25 01:25:04 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:25:04 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (28.6ms) Completed 200 OK in 53ms (Views: 51.0ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:25:05 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.5ms) Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.6ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:05 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms) Completed 200 OK in 17ms (Views: 16.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:07 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:09 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:11 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:13 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$QdG4Fq6fxiP0q9EmArmHuOPS0j9lpXd5axh4OO.ve/ALhmnWCSjYq', 'root', '2016-06-25 08:25:25', '2016-06-25 08:25:25', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$bPC.Ry43RJgyJ/BJfJ2OfOb0uEDhZsSNx3swIHXxWSkPw8t6ukm2a', 'dave', '2016-06-25 08:25:25', '2016-06-25 08:25:25', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:25:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.8ms) Completed 200 OK in 456ms (Views: 446.2ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:25:27 -0700 Started GET "/assets/lunar_shell/application-8145ea00069185955ed4cf2aed025a5bb0058ff13785065d61ce19c96c27fb6a.js" for 127.0.0.1 at 2016-06-25 01:25:27 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:25:28 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (26.9ms) Completed 200 OK in 51ms (Views: 49.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:25:28 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:28 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.5ms) Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:28 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:30 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:32 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:34 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:25:37 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$XVaAQAzkZCfddYNTiv5m9OReHqno75jhBLoMY7AlbZAZY3YD9ZaG.', 'root', '2016-06-25 08:26:56', '2016-06-25 08:26:56', 135138680) Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$w1fR3U/9vFhposNJZaiQeOJrurV7ZukcDYecUY4L4IF4A.fCwl4OW', 'dave', '2016-06-25 08:26:56', '2016-06-25 08:26:56', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:26:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.6ms) Completed 200 OK in 454ms (Views: 444.6ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:26:58 -0700 Started GET "/assets/lunar_shell/application-8145ea00069185955ed4cf2aed025a5bb0058ff13785065d61ce19c96c27fb6a.js" for 127.0.0.1 at 2016-06-25 01:26:58 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:26:58 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (34.3ms) Completed 200 OK in 79ms (Views: 73.2ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:26:59 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 20ms (Views: 19.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:26:59 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms) Completed 200 OK in 17ms (Views: 16.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:26:59 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:27:01 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:27:03 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:27:05 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:27:07 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (1.9ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$AAK.B/qvLMf.st7eMNkRn.EuJXrjAY9grlvH9Vqz948N.zsy52uq.', 'root', '2016-06-25 08:29:24', '2016-06-25 08:29:24', 135138680) Fixture Insert (1.0ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$w96Ob2TcUXOj6Btr6tAKtOyuo3PAUpe0XjK9eITZEvVVv7Pn6K98a', 'dave', '2016-06-25 08:29:24', '2016-06-25 08:29:24', 227792459)  (1.6ms) COMMIT  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.3ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.6ms) Completed 200 OK in 1028ms (Views: 1018.6ms | ActiveRecord: 1.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:29:27 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 01:29:27 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:28 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (29.0ms) Completed 200 OK in 52ms (Views: 50.6ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$neKo63K0nEfn2OMy/R8Znupl1yyyiyKcmlkFC9ITbglF0aSdON.WW', 'root', '2016-06-25 08:29:28', '2016-06-25 08:29:28', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$m//JVlRZsV1zbuUMUSty4uOYzWDR.yviwuFtbAek/6Q0tC4cNVbYa', 'dave', '2016-06-25 08:29:28', '2016-06-25 08:29:28', 227792459)  (1.1ms) COMMIT  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:28 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.1ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:28 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:28 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:28 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (8.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.7ms) Completed 200 OK in 45ms (Views: 44.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:29:29 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms) Completed 200 OK in 22ms (Views: 18.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:29 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.5ms) Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:29 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:29 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:29:29 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:29 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (17.0ms) Completed 200 OK in 40ms (Views: 37.6ms | ActiveRecord: 0.7ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 01:29:30 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.4ms) Completed 200 OK in 18ms (Views: 18.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 01:29:30 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (1.0ms) Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 01:29:30 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.3ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$a/rYCoZhe3rMxYaEAAEWB.RF27ZlW97SlG8m.DW6OLVYUPJXpi4bW"], ["updated_at", "2016-06-25 08:29:30.394363"], ["id", 227792459]]  (5.8ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.7ms) Completed 200 OK in 40ms (Views: 18.4ms | ActiveRecord: 9.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:30 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:34 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:29:34 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.8ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:35 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:29:35 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:35 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:29:35 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.0ms) Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:35 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.2ms) Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:36 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:29:36 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.6ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:36 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:29:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:38 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:29:38 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:29:38 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.5ms) Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:29:38 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:29:41 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:29:43 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:29:45 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:29:47 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$8xjfnBJ9ZvzwLlLs01rHn.rHyqqy64SKcEazSjqpI5nKhs94px222', 'root', '2016-06-25 08:47:55', '2016-06-25 08:47:55', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ugJWLzZFvy9eNLGkq8Dd7.ir1rYNUvQ/ikFsLg/tufyZZ2xTfedmS', 'dave', '2016-06-25 08:47:55', '2016-06-25 08:47:55', 227792459)  (72.7ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:47:57 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.9ms) Completed 200 OK in 447ms (Views: 438.3ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 01:47:57 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:47:57 -0700 LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:47:58 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.8ms) Completed 200 OK in 43ms (Views: 42.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:47:58 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.7ms) Completed 200 OK in 46ms (Views: 42.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:47:58 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.5ms) Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:47:58 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:47:58 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.1ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:47:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:48:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:48:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:48:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:48:02 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:48:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:02 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (3.1ms) Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$D0zaLOrXu7m6waFzOLFYherJoaSAbx.3XPB1UIIa/vJgPy161xOUu', 'root', '2016-06-25 08:48:04', '2016-06-25 08:48:04', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$T.2lfbsJ.zjD3EemcRodIeC7MJRN69cz189C4pSOrjh5Hq0LWBtNq', 'dave', '2016-06-25 08:48:04', '2016-06-25 08:48:04', 227792459)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:48:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.4ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:04 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "command"=>"clear", "error"=>"clear/run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear.js.erb (2.5ms) Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:48:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:04 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.2ms) Completed 200 OK in 25ms (Views: 22.2ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:48:06 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:06 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:48:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:07 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:48:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:07 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.5ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:48:07 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:07 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.1ms) Completed 200 OK in 37ms (Views: 35.5ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 01:48:07 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms) Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 01:48:08 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 01:48:08 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$OHW8utQjsY3WNHRss4VAoOoc2m6p9OS/3MvXcj2BT6V8YCVW/yYZq"], ["updated_at", "2016-06-25 08:48:08.145323"], ["id", 227792459]]  (1.0ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.2ms) Completed 200 OK in 30ms (Views: 17.6ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:48:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:08 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:48:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:10 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 1.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:48:10 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.1ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 1.1ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:48:10 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.5ms) Completed 200 OK in 18ms (Views: 17.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:48:10 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:48:12 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:48:14 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:48:17 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:48:19 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$o8CIfENfHR3z9MrTNsvlcO6S7HaFAbBYRb0efeQi8.SiV5tcheTl.', 'root', '2016-06-25 08:50:18', '2016-06-25 08:50:18', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$B51Ko8qMB4c94hGS6EzmAOXQpJPyaZRWwJijCoOKWABo2EUy8EYPG', 'dave', '2016-06-25 08:50:18', '2016-06-25 08:50:18', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.3ms) Completed 200 OK in 449ms (Views: 438.5ms | ActiveRecord: 1.2ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:50:21 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 01:50:21 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:21 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (19.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (36.9ms) Completed 200 OK in 69ms (Views: 67.1ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$qgcRRVSKmxDazMftFdPGkOpLYY6FwDqu/0vyqRk5L0zk.ww53x/ZW', 'root', '2016-06-25 08:50:30', '2016-06-25 08:50:30', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$upzqTSaNBQRlBXRvuMZ2r.3Mh8XPLMQJuwavChaeEDa5nNVKS.5YK', 'dave', '2016-06-25 08:50:30', '2016-06-25 08:50:30', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.6ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (9.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (19.2ms) Completed 200 OK in 504ms (Views: 491.2ms | ActiveRecord: 1.3ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 01:50:33 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 01:50:33 -0700 LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:34 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (5.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.5ms) Completed 200 OK in 47ms (Views: 46.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:50:34 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (35.1ms) Completed 200 OK in 60ms (Views: 54.1ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:34 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (5.1ms) Completed 200 OK in 34ms (Views: 30.6ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:34 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:34 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.2ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:35 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:50:35 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:35 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.2ms) Completed 200 OK in 40ms (Views: 36.9ms | ActiveRecord: 1.1ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 01:50:35 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 19ms (Views: 19.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 01:50:35 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 01:50:35 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN SQL (0.3ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$QYh1KOfDa/M8Ysov5sacfO6OAAFc06sooTcurSUrzIep8LRaiOQJi"], ["updated_at", "2016-06-25 08:50:36.008285"], ["id", 227792459]]  (1.2ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.3ms) Completed 200 OK in 37ms (Views: 18.8ms | ActiveRecord: 6.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:36 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (1.2ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:40 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:50:40 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.0ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 1.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:40 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:50:40 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:41 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:50:41 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:41 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.7ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 01:50:41 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:41 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.8ms) Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:42 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.2ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:42 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:42 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.6ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:50:42 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms) Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:50:42 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:50:44 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:50:46 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:50:48 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 01:50:50 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$HojTJ4jPJslkdO0ES2PTPe3WQ3WSXJfqgjST6eDDQ3kAl8TvY1PuC', 'root', '2016-06-25 08:50:50', '2016-06-25 08:50:50', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$nm/GSR2ZLni9mmyboc5ARexvRbtiz79X/tyq1a.iQNB9TB79UfYUe', 'dave', '2016-06-25 08:50:50', '2016-06-25 08:50:50', 227792459)  (1.6ms) COMMIT  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:50 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (5.6ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:51 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (7.9ms) Completed 200 OK in 49ms (Views: 46.9ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 01:50:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 01:50:51 -0700 Processing by LunarShell::SatellitesController#error as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms) Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (26.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.2ms) DELETE FROM "lunar_shell_users" 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) 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)  (0.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:51 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.5ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (11.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (21.3ms) Completed 200 OK in 559ms (Views: 542.1ms | ActiveRecord: 8.4ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:36:51 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:36:51 -0700 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:52 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:52 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "error"=>"run"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (31.0ms) Completed 200 OK in 53ms (Views: 52.0ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$VLGHd68bk1mQ781TDoteuueT8RDzM7NUUD/cDbrGyp79BFSv1.gEq', 'root', '2016-06-26 00:36:53', '2016-06-26 00:36:53', 135138680) 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)  (1.1ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:53 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:53 -0700  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700  (0.5ms) ROLLBACK Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:36:54 -0700  (0.4ms) BEGIN ------------------------------- SuTest: test_can_substitue_user -------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (5.8ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 1.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:54 -0700  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:36:54 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (1.1ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (7.4ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.9ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:55 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:55 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:36:55 -0700  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "lunar_shell_users" 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) 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)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (1.2ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (11.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (21.6ms) Completed 200 OK in 466ms (Views: 456.9ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:37:16 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:37:16 -0700 LunarShell::User Load (1.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (10.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (28.4ms) Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:17 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (24.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (39.7ms) Completed 200 OK in 59ms (Views: 54.8ms | ActiveRecord: 1.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:17 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (16.1ms) Completed 200 OK in 49ms (Views: 44.2ms | ActiveRecord: 1.5ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:37:17 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.6ms) Completed 200 OK in 18ms (Views: 17.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:37:17 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 15.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:37:18 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN 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]]  (5.8ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.2ms) Completed 200 OK in 56ms (Views: 22.7ms | ActiveRecord: 11.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:18 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (8.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (9.1ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:20 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (8.1ms) Completed 200 OK in 39ms (Views: 35.8ms | ActiveRecord: 1.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.3ms) Completed 200 OK in 32ms (Views: 30.7ms | ActiveRecord: 0.7ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:21 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (1.4ms) Completed 200 OK in 24ms (Views: 23.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:21 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:23 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:25 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:27 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:37:29 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$DFb52NJ3tOQCSDyVJ8zoy.hQkIrud8j6P7zaoDhiawv2HIg99m0H6', 'root', '2016-06-26 00:37:29', '2016-06-26 00:37:29', 135138680) 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)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:29 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:29 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:29 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:30 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:30 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.2ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:31 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:31 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:31 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:31 -0700  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:31 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:31 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:37:32 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:32 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.2ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:32 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:37:32 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (7.7ms) Completed 200 OK in 30ms (Views: 27.3ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.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) 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)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:37:59 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.2ms) Completed 200 OK in 446ms (Views: 437.5ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:37:59 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:37:59 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:00 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (28.0ms) Completed 200 OK in 53ms (Views: 50.4ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:00 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (20.8ms) Completed 200 OK in 40ms (Views: 39.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:00 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 20ms (Views: 15.4ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:01 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.5ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.7ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:01 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (2.9ms) Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" 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) 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)  (1.5ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:01 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:01 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:01 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:01 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (14.9ms) Completed 200 OK in 35ms (Views: 32.6ms | ActiveRecord: 0.9ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:38:02 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.0ms) Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:38:02 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:38:02 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN 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]]  (1.0ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.1ms) Completed 200 OK in 34ms (Views: 20.3ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:02 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:02 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (1.0ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:04 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:04 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.2ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:04 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms) Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.5ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:04 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms) Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:05 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:07 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:09 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:11 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:13 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:13 -0700  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in -------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:13 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:13 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.6ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 1.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:14 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:14 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:14 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.7ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:14 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:14 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.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) 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)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.0ms) Completed 200 OK in 373ms (Views: 358.6ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:38:26 -0700 Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:38:26 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:26 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (16.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (31.5ms) Completed 200 OK in 71ms (Views: 68.5ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:27 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.4ms) Completed 200 OK in 28ms (Views: 26.4ms | ActiveRecord: 0.6ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:27 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (1.1ms) Completed 200 OK in 28ms (Views: 27.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:27 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:29 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:31 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:33 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:38:35 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" 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) 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)  (1.3ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:35 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (5.7ms) Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 1.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:35 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (2.7ms) Completed 200 OK in 23ms (Views: 22.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:36 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (29.8ms) Completed 200 OK in 49ms (Views: 48.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:36 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.5ms) Completed 200 OK in 33ms (Views: 26.6ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:36 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:36 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:36 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:37 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:37 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:37 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:37 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:37 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.2ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:37 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:38 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:38 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:38 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (4.2ms) Completed 200 OK in 24ms (Views: 23.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:40 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:40 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:40 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.1ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:40 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:41 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:41 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:41 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (2.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:38:41 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:41 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.1ms) Completed 200 OK in 46ms (Views: 44.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:38:41 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.1ms) Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:38:41 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.9ms) Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:38:42 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.2ms) BEGIN 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]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (3.6ms) Completed 200 OK in 37ms (Views: 24.6ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:38:42 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:38:42 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.8ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$YXqHwpAsvE2SKLfPYuK2Z.b1DTT.eRD6n30UPvC3hTY2DRI4uHTci', 'root', '2016-06-26 00:39:15', '2016-06-26 00:39:15', 135138680) 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)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.1ms) Completed 200 OK in 359ms (Views: 349.4ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:39:17 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:39:17 -0700 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (21.5ms) Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:18 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (28.5ms) Completed 200 OK in 47ms (Views: 42.5ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:18 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.8ms) Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:18 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:18 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:18 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.6ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.2ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.4ms) Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:20 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:20 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.1ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:20 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (3.1ms) Completed 200 OK in 20ms (Views: 19.5ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$621Ocb8p/..JahJ.uOvZY.JUumdhWYNpgjN6KA0uBI4WtbgjUv5v6', 'root', '2016-06-26 00:39:22', '2016-06-26 00:39:22', 135138680) 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)  (1.1ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:22 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (3.3ms) Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:23 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.6ms) Completed 200 OK in 38ms (Views: 35.4ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:25 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:39:25 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:25 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.9ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:39:25 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:39:25 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms) Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:39:25 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.1ms) BEGIN 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]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.9ms) Completed 200 OK in 28ms (Views: 16.6ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:39:25 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:26 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:39:26 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.8ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:26 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.5ms) Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:26 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:28 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:30 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:32 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:39:34 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$lM2p3BfnUV5osDp7zpHzu.IWxpRFJBA9WMOuj/uDg50DlO1x5HkJ6', 'root', '2016-06-26 00:40:20', '2016-06-26 00:40:20', 135138680) 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)  (1.1ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:22 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (12.8ms) Completed 200 OK in 453ms (Views: 444.1ms | ActiveRecord: 1.0ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:40:23 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:40:23 -0700 LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:23 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.5ms) Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:23 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (15.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (30.0ms) Completed 200 OK in 48ms (Views: 45.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:24 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:24 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.7ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------- CommandNotFoundTest: test_nothing_sent -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:24 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "command"=>"asdklfj", "error"=>"asdklfj/run"}  (14.9ms) ROLLBACK Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.4ms)  (0.1ms) BEGIN -------------------------------- 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 NoCommandTest: test_nothing_sent Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) -------------------------------- Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (18.7ms) Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:24 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:25 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "error"=>"run"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.5ms) Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$taAxvsbJa9uN4TDk/rYhDeXR/uk/1p5UQ/8MwfmpKw6XNO2R7GYyS', 'root', '2016-06-26 00:40:27', '2016-06-26 00:40:27', 135138680) 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)  (1.3ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:27 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:27 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.1ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:27 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:27 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.1ms) Completed 200 OK in 40ms (Views: 38.4ms | ActiveRecord: 0.4ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:40:27 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:40:27 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.7ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:40:27 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.1ms) BEGIN 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]]  (1.1ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (3.8ms) Completed 200 OK in 33ms (Views: 19.9ms | ActiveRecord: 2.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:28 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:28 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:30 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (2.1ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:30 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:30 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:30 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:30 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 24ms (Views: 22.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.2ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.6ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.0ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.0ms) Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.0ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:40:33 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:34 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.6ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:40:34 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:34 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms) Completed 200 OK in 20ms (Views: 19.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:34 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:36 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:38 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:40 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:40:42 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$gSA3y5PcivKvkDbOSLsH8exNAq5IplDcUa1PIErPMJJl3i7/i2Riu', 'root', '2016-06-26 00:41:04', '2016-06-26 00:41:04', 135138680) 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)  (1.4ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:07 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms) 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.6ms) Completed 200 OK in 567ms (Views: 557.0ms | ActiveRecord: 0.9ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-25 17:41:07 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-25 17:41:07 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:08 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (17.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (31.5ms) Completed 200 OK in 54ms (Views: 53.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$/xlh5Xvn3rQEQYN9vkCCAOPRPiRotOvkoVpPPeuXAJxASDz1rKeQW', 'root', '2016-06-26 00:41:08', '2016-06-26 00:41:08', 135138680) 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)  (1.0ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:08 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.7ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:08 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (22.1ms) Completed 200 OK in 43ms (Views: 42.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:08 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.0ms) Completed 200 OK in 29ms (Views: 22.0ms | ActiveRecord: 1.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:09 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:09 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.9ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:09 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:09 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.9ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:09 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:10 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (2.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.0ms) Completed 200 OK in 43ms (Views: 40.8ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:12 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:12 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:12 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.0ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:12 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (1.6ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.9ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-25 17:41:12 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.1ms) Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-25 17:41:12 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-25 17:41:13 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} 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  (0.4ms) BEGIN 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]]  (1.3ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.6ms) Completed 200 OK in 42ms (Views: 23.9ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:13 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:13 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (4.4ms) Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 1.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:13 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.3ms) Completed 200 OK in 25ms (Views: 23.8ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:13 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.8ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:14 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-25 17:41:14 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.0ms) Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.9ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:14 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:16 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} 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 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.4ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------- CommandNotFoundTest: test_nothing_sent -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.4ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:17 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "command"=>"asdklfj", "error"=>"asdklfj/run"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.5ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (17.7ms) Completed 200 OK in 33ms (Views: 32.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:17 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.7ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:17 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (3.1ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.7ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:17 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms) Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:17 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:19 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.2ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:21 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:23 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-25 17:41:26 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.2ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-25 17:41:26 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-25 17:41:26 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} 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 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (3.9ms) Completed 200 OK in 27ms (Views: 25.2ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (6.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$hRV2lr6lKshNpdhvWG9PJOBCi.VzhGctSh84DUvk2aJ5EyLIRCS06', 'root', '2016-06-26 19:57:58', '2016-06-26 19:57:58', 135138680) Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$r/CHCukrRHdveDd9.CldMO267UjaGtTHKtb8ovBusgDb1r8s7xZui', 'dave', '2016-06-26 19:57:58', '2016-06-26 19:57:58', 227792459)  (65.6ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------- HistoryTest: test_shows_history ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:00 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.3ms) LunarShell::User Load (1.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (3.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (5.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (14.0ms) Completed 200 OK in 496ms (Views: 486.7ms | ActiveRecord: 1.1ms) Started GET "/assets/lunar_shell/application-a93d380a2f4d12c41082b35fbe8a70cf20f4642fddb125b5923eba8cfd1d1190.css" for 127.0.0.1 at 2016-06-26 12:58:01 -0700 Started GET "/assets/lunar_shell/application-288b949852dd71748105cdf84cd677b94cfb1eacbd6c768f228edaf167e6357c.js" for 127.0.0.1 at 2016-06-26 12:58:01 -0700 Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:01 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (14.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (27.4ms) Completed 200 OK in 51ms (Views: 48.1ms | ActiveRecord: 0.6ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:01 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.6ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.4ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:02 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.4ms) Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:02 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:04 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:06 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["up"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:08 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 12:58:10 -0700 Processing by LunarShell::Satellites::HistoryController#run as */* Parameters: {"parameters"=>["down"], "command"=>"history"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users" Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$/ku6WpiPUGkgUH/KJX./NOOkw2ej7s9UMuLzkZWN1xf5UTW153bye', 'root', '2016-06-26 19:58:10', '2016-06-26 19:58:10', 135138680) Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$imr8ZLuypXAwS6PXfIPXW.0iUOY9SeFbjLlJ7bOKiEUd/gwJQoS7W', 'dave', '2016-06-26 19:58:10', '2016-06-26 19:58:10', 227792459)  (1.2ms) COMMIT  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------- PasswdTest: test_logged_in -------------------------- Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:10 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.6ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:10 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (9.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.5ms) Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:10 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 19ms (Views: 15.9ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:11 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (15.4ms) Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.8ms) Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-26 12:58:11 -0700 Processing by LunarShell::Satellites::PasswdController#new_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.5ms) Completed 200 OK in 16ms (Views: 15.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-26 12:58:11 -0700 Processing by LunarShell::Satellites::PasswdController#confirm_password as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.6ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms) Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-26 12:58:11 -0700 Processing by LunarShell::Satellites::PasswdController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$BWqaiG1zQM/EkAaLgafKJ.gmJ.VCjSKRf/TpMuEnp9WvSQ/z5Pa.u"], ["updated_at", "2016-06-26 19:58:11.464160"], ["id", 227792459]]  (6.0ms) COMMIT Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.8ms) Completed 200 OK in 32ms (Views: 15.8ms | ActiveRecord: 7.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ PasswdTest: test_not_logged_in ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:11 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:11 -0700 Processing by LunarShell::Satellites::PasswdController#run as JS Parameters: {"utf8"=>"✓", "command"=>"passwd"} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.6ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ ExitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:13 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:13 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.7ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:13 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.5ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:14 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (0.9ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ExitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:16 -0700 Processing by LunarShell::Satellites::ExitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"exit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.3ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ ClearTest: test_clears_history ------------------------------ Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.3ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:16 -0700 Processing by LunarShell::Satellites::ClearController#run as JS Parameters: {"utf8"=>"✓", "command"=>"clear"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (1.9ms) Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------- SuTest: test_log_in ------------------- Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:16 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:16 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.7ms) Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- SuTest: test_can_substitue_user ------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:16 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.5ms) LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:17 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.3ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:17 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.6ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:17 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.9ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------- NoCommandTest: test_nothing_sent -------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:17 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.6ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:17 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "error"=>"run"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms) Completed 200 OK in 19ms (Views: 18.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ QuitTest: test_logged_in ------------------------ Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:19 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]] Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:19 -0700 Processing by LunarShell::Satellites::SuController#run as JS Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.9ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 12:58:19 -0700 Processing by LunarShell::Satellites::SuController#create as JS Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}} LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.7ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.7ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- QuitTest: test_not_logged_in ---------------------------- Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.4ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:20 -0700 Processing by LunarShell::Satellites::QuitController#run as JS Parameters: {"utf8"=>"✓", "command"=>"quit"} LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (1.9ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------- CommandNotFoundTest: test_nothing_sent -------------------------------------- Started GET "/" for 127.0.0.1 at 2016-06-26 12:58:20 -0700 Processing by LunarShell::ShellsController#show as HTML Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms) LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms) Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 12:58:20 -0700 Processing by LunarShell::SatellitesController#run as JS Parameters: {"utf8"=>"✓", "command"=>"asdklfj", "error"=>"asdklfj/run"} Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.5ms) LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1 Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms) Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (17.2ms) Completed 200 OK in 31ms (Views: 30.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK