Bug fixes.

This commit is contained in:
Jonathan Abbett 2016-11-22 10:06:58 -05:00
parent 4da4659503
commit 8539911973
10 changed files with 718 additions and 4 deletions

View File

@ -1,3 +1,3 @@
# frozen_string_literal: true
class AbrahamHistory < ApplicationRecord
class AbrahamHistory < ActiveRecord::Base
end

View File

@ -1,4 +1,4 @@
# frozen_string_literal: true
module Abraham
VERSION = '0.1.0'
VERSION = '0.1.1'
end

View File

@ -21,6 +21,7 @@ module Abraham
def create_initializer
return if options['skip-initializer']
copy_file 'initializer.rb', 'config/initializers/abraham.rb'
copy_file 'abraham.yml', 'config/abraham.yml'
end
end
end

View File

@ -0,0 +1,11 @@
defaults: &defaults
:default_theme: 'shepherd-theme-default'
development:
<<: *defaults
test:
<<: *defaults
production:
<<: *defaults

View File

@ -16,6 +16,8 @@ Rails.application.configure do
end
end
config.abraham.default_theme = 'shepherd-theme-default'
abraham_config = Rails.application.config_for :abraham
config.abraham = ActiveSupport::OrderedOptions.new
config.abraham.default_theme = abraham_config[:default_theme]
config.abraham.tours = tours
end

View File

@ -0,0 +1,11 @@
defaults: &defaults
:default_theme: 'shepherd-theme-default'
development:
<<: *defaults
test:
<<: *defaults
production:
<<: *defaults

View File

@ -16,7 +16,8 @@ Rails.application.configure do
end
end
abraham_config = Rails.application.config_for :abraham
config.abraham = ActiveSupport::OrderedOptions.new
config.abraham.default_theme = 'shepherd-theme-default'
config.abraham.default_theme = abraham_config[:default_theme]
config.abraham.tours = tours
end

View File

@ -2886,3 +2886,130 @@ Processing by DashboardController#other as HTML
Completed 200 OK in 107ms (Views: 103.5ms | ActiveRecord: 0.6ms)
Started GET "/" for ::1 at 2016-11-21 22:41:01 -0500
ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by Rails::WelcomeController#index as HTML
Parameters: {"internal"=>true}
Rendering /Users/jabbett/.rvm/gems/ruby-2.3.2@abraham/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/jabbett/.rvm/gems/ruby-2.3.2@abraham/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (11.2ms)
Completed 200 OK in 53ms (Views: 20.5ms | ActiveRecord: 0.0ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:41:07 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.6ms)
AbrahamHistory Load (0.6ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 847], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (68.6ms)
Completed 200 OK in 1649ms (Views: 1645.4ms | ActiveRecord: 0.9ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:43:49 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (1.4ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 26], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (4.4ms)
Completed 200 OK in 182ms (Views: 178.5ms | ActiveRecord: 0.2ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:43:51 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 5898], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (3.1ms)
Completed 200 OK in 130ms (Views: 126.7ms | ActiveRecord: 0.2ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:44:12 -0500
ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (2.3ms)
AbrahamHistory Load (1.1ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Completed 200 OK in 1534ms (Views: 1529.9ms | ActiveRecord: 2.0ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:44:26 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.6ms)
AbrahamHistory Load (0.3ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 136], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (38.4ms)
Completed 200 OK in 186ms (Views: 182.6ms | ActiveRecord: 0.3ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:45:40 -0500
ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (2.3ms)
AbrahamHistory Load (0.9ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Completed 200 OK in 1568ms (Views: 1561.9ms | ActiveRecord: 2.0ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:45:44 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (1.9ms)
AbrahamHistory Load (1.0ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 4], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (79.1ms)
Completed 200 OK in 241ms (Views: 237.7ms | ActiveRecord: 1.0ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:46:25 -0500
ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (2.3ms)
AbrahamHistory Load (0.8ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Completed 200 OK in 1600ms (Views: 1594.4ms | ActiveRecord: 2.6ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:46:29 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (1.0ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 8], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (33.1ms)
Completed 200 OK in 177ms (Views: 174.8ms | ActiveRecord: 0.2ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:46:31 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.6ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 699620], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (4.2ms)
Completed 200 OK in 109ms (Views: 106.6ms | ActiveRecord: 0.2ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:49:38 -0500
ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (2.4ms)
AbrahamHistory Load (0.7ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Completed 200 OK in 1780ms (Views: 1776.1ms | ActiveRecord: 1.7ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:49:42 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (1.8ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 9], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (35.7ms)
Completed 200 OK in 179ms (Views: 177.2ms | ActiveRecord: 0.2ms)
Started GET "/dashboard/home" for ::1 at 2016-11-21 22:50:35 -0500
ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (1.9ms)
AbrahamHistory Load (1.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 808], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (22.3ms)
Completed 200 OK in 981ms (Views: 977.4ms | ActiveRecord: 1.5ms)

View File

@ -1093,3 +1093,563 @@ Completed 201 Created in 16ms (Views: 1.0ms | ActiveRecord: 2.1ms)
Abraham::Test: test_truth
-------------------------
 (0.1ms) rollback transaction
ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
 (0.1ms) begin transaction
-------------------------------------------------------------
DashboardControllerTest: test_home_should_have_home_tour_code
-------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:23:05 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (7.5ms)
AbrahamHistory Load (0.6ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 423], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (31.2ms)
Completed 200 OK in 1407ms (Views: 1403.7ms | ActiveRecord: 0.9ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------------
DashboardControllerTest: test_other_should_have_other_tour_code
---------------------------------------------------------------
Started GET "/dashboard/other" for 127.0.0.1 at 2016-11-21 22:23:06 -0500
Processing by DashboardController#other as HTML
Rendering dashboard/other.html.erb within layouts/application
Rendered dashboard/other.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "other"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (1.7ms)
Completed 200 OK in 16ms (Views: 12.1ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------------
DashboardControllerTest: test_uses_configured_shepherd_theme
------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:23:06 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.4ms)
AbrahamHistory Load (0.5ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 2], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.3ms)
Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.5ms)
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:23:06 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.4ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.9ms)
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_initializer_when_told_to_do_so
-------------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------
InstallGeneratorTest: test_should_generate_a_migration
------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------
InstallGeneratorTest: test_should_generate_an_initializer
---------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_migration_when_told_to_do_so
-----------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------
Abraham::Test: test_truth
-------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------
AbrahamHistoriesControllerTest: test_should_create_AbrahamHistory
-----------------------------------------------------------------
 (0.5ms) SELECT COUNT(*) FROM "abraham_histories"
Started POST "/abraham_histories.json" for 127.0.0.1 at 2016-11-21 22:23:06 -0500
Processing by AbrahamHistoriesController#create as JSON
Parameters: {"abraham_history"=>{"action_name"=>"foo", "controller_name"=>"bar", "tour_name"=>"baz"}}
 (0.5ms) SAVEPOINT active_record_1
SQL (1.2ms) INSERT INTO "abraham_histories" ("controller_name", "action_name", "tour_name", "creator_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["controller_name", "bar"], ["action_name", "foo"], ["tour_name", "baz"], ["creator_id", 0], ["created_at", 2016-11-22 03:23:06 UTC], ["updated_at", 2016-11-22 03:23:06 UTC]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
Completed 201 Created in 16ms (Views: 0.8ms | ActiveRecord: 2.1ms)
 (0.1ms) SELECT COUNT(*) FROM "abraham_histories"
 (0.8ms) rollback transaction
ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
 (0.1ms) begin transaction
------------------------------------------------------
InstallGeneratorTest: test_should_generate_a_migration
------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_initializer_when_told_to_do_so
-------------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------
InstallGeneratorTest: test_should_generate_an_initializer
---------------------------------------------------------
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_migration_when_told_to_do_so
-----------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------
DashboardControllerTest: test_home_should_have_home_tour_code
-------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:37:41 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (2.4ms)
AbrahamHistory Load (0.6ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 31], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (33.0ms)
Completed 200 OK in 1289ms (Views: 1284.4ms | ActiveRecord: 0.9ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------------
DashboardControllerTest: test_other_should_have_other_tour_code
---------------------------------------------------------------
Started GET "/dashboard/other" for 127.0.0.1 at 2016-11-21 22:37:43 -0500
Processing by DashboardController#other as HTML
Rendering dashboard/other.html.erb within layouts/application
Rendered dashboard/other.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.6ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 2], ["controller_name", "dashboard"], ["action_name", "other"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (1.7ms)
Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 0.6ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------------
DashboardControllerTest: test_uses_configured_shepherd_theme
------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:37:43 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.4ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 9], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.3ms)
Completed 200 OK in 15ms (Views: 11.9ms | ActiveRecord: 0.2ms)
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:37:43 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 5], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.3ms)
Completed 200 OK in 15ms (Views: 11.9ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------
Abraham::Test: test_truth
-------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------
AbrahamHistoriesControllerTest: test_should_create_AbrahamHistory
-----------------------------------------------------------------
 (0.5ms) SELECT COUNT(*) FROM "abraham_histories"
Started POST "/abraham_histories.json" for 127.0.0.1 at 2016-11-21 22:37:43 -0500
Processing by AbrahamHistoriesController#create as JSON
Parameters: {"abraham_history"=>{"action_name"=>"foo", "controller_name"=>"bar", "tour_name"=>"baz"}}
 (0.1ms) SAVEPOINT active_record_1
SQL (1.0ms) INSERT INTO "abraham_histories" ("controller_name", "action_name", "tour_name", "creator_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["controller_name", "bar"], ["action_name", "foo"], ["tour_name", "baz"], ["creator_id", 41], ["created_at", 2016-11-22 03:37:43 UTC], ["updated_at", 2016-11-22 03:37:43 UTC]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
Completed 201 Created in 15ms (Views: 1.0ms | ActiveRecord: 1.5ms)
 (0.1ms) SELECT COUNT(*) FROM "abraham_histories"
 (1.2ms) rollback transaction
ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
 (0.1ms) begin transaction
-----------------------------------------------------------------
AbrahamHistoriesControllerTest: test_should_create_AbrahamHistory
-----------------------------------------------------------------
 (0.6ms) SELECT COUNT(*) FROM "abraham_histories"
Started POST "/abraham_histories.json" for 127.0.0.1 at 2016-11-21 22:38:32 -0500
Processing by AbrahamHistoriesController#create as JSON
Parameters: {"abraham_history"=>{"action_name"=>"foo", "controller_name"=>"bar", "tour_name"=>"baz"}}
 (0.1ms) SAVEPOINT active_record_1
SQL (1.7ms) INSERT INTO "abraham_histories" ("controller_name", "action_name", "tour_name", "creator_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["controller_name", "bar"], ["action_name", "foo"], ["tour_name", "baz"], ["creator_id", 23], ["created_at", 2016-11-22 03:38:32 UTC], ["updated_at", 2016-11-22 03:38:32 UTC]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
Completed 201 Created in 20ms (Views: 0.9ms | ActiveRecord: 2.3ms)
 (0.1ms) SELECT COUNT(*) FROM "abraham_histories"
 (0.5ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------
InstallGeneratorTest: test_should_generate_an_initializer
---------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------
InstallGeneratorTest: test_should_generate_a_migration
------------------------------------------------------
 (0.2ms) rollback transaction
 (0.2ms) begin transaction
-------------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_initializer_when_told_to_do_so
-------------------------------------------------------------------------
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_migration_when_told_to_do_so
-----------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------
DashboardControllerTest: test_home_should_have_home_tour_code
-------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:38:32 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (3.4ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (33.5ms)
Completed 200 OK in 1217ms (Views: 1213.1ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------------
DashboardControllerTest: test_other_should_have_other_tour_code
---------------------------------------------------------------
Started GET "/dashboard/other" for 127.0.0.1 at 2016-11-21 22:38:33 -0500
Processing by DashboardController#other as HTML
Rendering dashboard/other.html.erb within layouts/application
Rendered dashboard/other.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "other"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (1.7ms)
Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------------
DashboardControllerTest: test_uses_configured_shepherd_theme
------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:38:34 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.4ms)
Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.2ms)
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
-------------------------
Abraham::Test: test_truth
-------------------------
 (0.0ms) rollback transaction
ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
 (0.1ms) begin transaction
-------------------------------------------------------------
DashboardControllerTest: test_home_should_have_home_tour_code
-------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:39:34 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (3.7ms)
AbrahamHistory Load (0.5ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (37.3ms)
Completed 200 OK in 1360ms (Views: 1355.9ms | ActiveRecord: 0.8ms)
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------------
DashboardControllerTest: test_uses_configured_shepherd_theme
------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:39:36 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 37], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.7ms)
Completed 200 OK in 16ms (Views: 13.6ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------------
DashboardControllerTest: test_other_should_have_other_tour_code
---------------------------------------------------------------
Started GET "/dashboard/other" for 127.0.0.1 at 2016-11-21 22:39:36 -0500
Processing by DashboardController#other as HTML
Rendering dashboard/other.html.erb within layouts/application
Rendered dashboard/other.html.erb within layouts/application (0.7ms)
AbrahamHistory Load (0.3ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 40], ["controller_name", "dashboard"], ["action_name", "other"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.0ms)
Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.3ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------
InstallGeneratorTest: test_should_generate_a_migration
------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_initializer_when_told_to_do_so
-------------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_migration_when_told_to_do_so
-----------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------
InstallGeneratorTest: test_should_generate_an_initializer
---------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------
Abraham::Test: test_truth
-------------------------
 (0.0ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------
AbrahamHistoriesControllerTest: test_should_create_AbrahamHistory
-----------------------------------------------------------------
 (0.4ms) SELECT COUNT(*) FROM "abraham_histories"
Started POST "/abraham_histories.json" for 127.0.0.1 at 2016-11-21 22:39:36 -0500
Processing by AbrahamHistoriesController#create as JSON
Parameters: {"abraham_history"=>{"action_name"=>"foo", "controller_name"=>"bar", "tour_name"=>"baz"}}
 (0.1ms) SAVEPOINT active_record_1
SQL (1.6ms) INSERT INTO "abraham_histories" ("controller_name", "action_name", "tour_name", "creator_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["controller_name", "bar"], ["action_name", "foo"], ["tour_name", "baz"], ["creator_id", 9], ["created_at", 2016-11-22 03:39:36 UTC], ["updated_at", 2016-11-22 03:39:36 UTC]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
Completed 201 Created in 19ms (Views: 0.9ms | ActiveRecord: 2.3ms)
 (0.1ms) SELECT COUNT(*) FROM "abraham_histories"
 (0.5ms) rollback transaction
ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
 (0.2ms) begin transaction
------------------------------------------------------
InstallGeneratorTest: test_should_generate_a_migration
------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------
InstallGeneratorTest: test_should_generate_an_initializer
---------------------------------------------------------
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_migration_when_told_to_do_so
-----------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_initializer_when_told_to_do_so
-------------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.2ms) begin transaction
-----------------------------------------------------------------
AbrahamHistoriesControllerTest: test_should_create_AbrahamHistory
-----------------------------------------------------------------
 (0.5ms) SELECT COUNT(*) FROM "abraham_histories"
Started POST "/abraham_histories.json" for 127.0.0.1 at 2016-11-21 22:42:25 -0500
Processing by AbrahamHistoriesController#create as JSON
Parameters: {"abraham_history"=>{"action_name"=>"foo", "controller_name"=>"bar", "tour_name"=>"baz"}}
 (0.1ms) SAVEPOINT active_record_1
SQL (1.6ms) INSERT INTO "abraham_histories" ("controller_name", "action_name", "tour_name", "creator_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["controller_name", "bar"], ["action_name", "foo"], ["tour_name", "baz"], ["creator_id", 0], ["created_at", 2016-11-22 03:42:25 UTC], ["updated_at", 2016-11-22 03:42:25 UTC]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
Completed 201 Created in 22ms (Views: 0.9ms | ActiveRecord: 2.7ms)
 (0.1ms) SELECT COUNT(*) FROM "abraham_histories"
 (0.5ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------
DashboardControllerTest: test_home_should_have_home_tour_code
-------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:42:25 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (2.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 0], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (35.0ms)
Completed 200 OK in 1227ms (Views: 1223.6ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------------
DashboardControllerTest: test_other_should_have_other_tour_code
---------------------------------------------------------------
Started GET "/dashboard/other" for 127.0.0.1 at 2016-11-21 22:42:26 -0500
Processing by DashboardController#other as HTML
Rendering dashboard/other.html.erb within layouts/application
Rendered dashboard/other.html.erb within layouts/application (0.4ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 45150], ["controller_name", "dashboard"], ["action_name", "other"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (1.6ms)
Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------------
DashboardControllerTest: test_uses_configured_shepherd_theme
------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:42:26 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 3], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.0ms)
Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.2ms)
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
-------------------------
Abraham::Test: test_truth
-------------------------
 (0.2ms) rollback transaction
ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
 (0.1ms) begin transaction
------------------------------------------------------
InstallGeneratorTest: test_should_generate_a_migration
------------------------------------------------------
 (0.1ms) rollback transaction
 (0.2ms) begin transaction
---------------------------------------------------------
InstallGeneratorTest: test_should_generate_an_initializer
---------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_initializer_when_told_to_do_so
-------------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_migration_when_told_to_do_so
-----------------------------------------------------------------------
 (0.2ms) rollback transaction
 (0.3ms) begin transaction
-----------------------------------------------------------------
AbrahamHistoriesControllerTest: test_should_create_AbrahamHistory
-----------------------------------------------------------------
 (0.4ms) SELECT COUNT(*) FROM "abraham_histories"
Started POST "/abraham_histories.json" for 127.0.0.1 at 2016-11-21 22:50:17 -0500
Processing by AbrahamHistoriesController#create as JSON
Parameters: {"abraham_history"=>{"action_name"=>"foo", "controller_name"=>"bar", "tour_name"=>"baz"}}
 (0.1ms) SAVEPOINT active_record_1
SQL (1.7ms) INSERT INTO "abraham_histories" ("controller_name", "action_name", "tour_name", "creator_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["controller_name", "bar"], ["action_name", "foo"], ["tour_name", "baz"], ["creator_id", 945], ["created_at", 2016-11-22 03:50:17 UTC], ["updated_at", 2016-11-22 03:50:17 UTC]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
Completed 201 Created in 21ms (Views: 1.1ms | ActiveRecord: 2.3ms)
 (0.1ms) SELECT COUNT(*) FROM "abraham_histories"
 (0.5ms) rollback transaction
 (0.1ms) begin transaction
-------------------------
Abraham::Test: test_truth
-------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------------
DashboardControllerTest: test_other_should_have_other_tour_code
---------------------------------------------------------------
Started GET "/dashboard/other" for 127.0.0.1 at 2016-11-21 22:50:18 -0500
Processing by DashboardController#other as HTML
Rendering dashboard/other.html.erb within layouts/application
Rendered dashboard/other.html.erb within layouts/application (2.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 7], ["controller_name", "dashboard"], ["action_name", "other"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (33.1ms)
Completed 200 OK in 1226ms (Views: 1222.1ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------
DashboardControllerTest: test_home_should_have_home_tour_code
-------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:50:19 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.4ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 5], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.1ms)
Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------------
DashboardControllerTest: test_uses_configured_shepherd_theme
------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:50:19 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 1], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (1.8ms)
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms)
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-21 22:50:19 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 709], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (3.2ms)
Completed 200 OK in 16ms (Views: 13.8ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
 (0.1ms) begin transaction
-------------------------
Abraham::Test: test_truth
-------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------
InstallGeneratorTest: test_should_generate_a_migration
------------------------------------------------------
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
---------------------------------------------------------
InstallGeneratorTest: test_should_generate_an_initializer
---------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_initializer_when_told_to_do_so
-------------------------------------------------------------------------
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------------
InstallGeneratorTest: test_should_skip_the_migration_when_told_to_do_so
-----------------------------------------------------------------------
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
-------------------------------------------------------------
DashboardControllerTest: test_home_should_have_home_tour_code
-------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-22 10:05:47 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (4.2ms)
AbrahamHistory Load (0.4ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 482], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (29.2ms)
Completed 200 OK in 1606ms (Views: 1594.5ms | ActiveRecord: 0.9ms)
 (0.4ms) rollback transaction
 (0.2ms) begin transaction
---------------------------------------------------------------
DashboardControllerTest: test_other_should_have_other_tour_code
---------------------------------------------------------------
Started GET "/dashboard/other" for 127.0.0.1 at 2016-11-22 10:05:49 -0500
Processing by DashboardController#other as HTML
Rendering dashboard/other.html.erb within layouts/application
Rendered dashboard/other.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 6], ["controller_name", "dashboard"], ["action_name", "other"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.2ms)
Completed 200 OK in 26ms (Views: 15.0ms | ActiveRecord: 0.2ms)
 (0.2ms) rollback transaction
 (0.1ms) begin transaction
------------------------------------------------------------
DashboardControllerTest: test_uses_configured_shepherd_theme
------------------------------------------------------------
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-22 10:05:49 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 281], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (1.9ms)
Completed 200 OK in 21ms (Views: 11.8ms | ActiveRecord: 0.2ms)
Started GET "/dashboard/home" for 127.0.0.1 at 2016-11-22 10:05:49 -0500
Processing by DashboardController#home as HTML
Rendering dashboard/home.html.erb within layouts/application
Rendered dashboard/home.html.erb within layouts/application (0.5ms)
AbrahamHistory Load (0.2ms) SELECT "abraham_histories".* FROM "abraham_histories" WHERE "abraham_histories"."creator_id" = ? AND "abraham_histories"."controller_name" = ? AND "abraham_histories"."action_name" = ? [["creator_id", 8], ["controller_name", "dashboard"], ["action_name", "home"]]
Rendered /Users/jabbett/Workspace/abraham/app/views/application/_abraham.html.erb (2.0ms)
Completed 200 OK in 33ms (Views: 20.5ms | ActiveRecord: 0.2ms)
 (0.1ms) rollback transaction
 (0.1ms) begin transaction
-----------------------------------------------------------------
AbrahamHistoriesControllerTest: test_should_create_AbrahamHistory
-----------------------------------------------------------------
 (0.4ms) SELECT COUNT(*) FROM "abraham_histories"
Started POST "/abraham_histories.json" for 127.0.0.1 at 2016-11-22 10:05:49 -0500
Processing by AbrahamHistoriesController#create as JSON
Parameters: {"abraham_history"=>{"action_name"=>"foo", "controller_name"=>"bar", "tour_name"=>"baz"}}
 (0.1ms) SAVEPOINT active_record_1
SQL (1.0ms) INSERT INTO "abraham_histories" ("controller_name", "action_name", "tour_name", "creator_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["controller_name", "bar"], ["action_name", "foo"], ["tour_name", "baz"], ["creator_id", 0], ["created_at", 2016-11-22 15:05:49 UTC], ["updated_at", 2016-11-22 15:05:49 UTC]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
Completed 201 Created in 16ms (Views: 1.1ms | ActiveRecord: 1.6ms)
 (0.1ms) SELECT COUNT(*) FROM "abraham_histories"
 (0.6ms) rollback transaction

View File

@ -31,6 +31,7 @@ class InstallGeneratorTest < Rails::Generators::TestCase
begin
run_generator
assert_file 'config/initializers/abraham.rb'
assert_file 'config/abraham.yml'
ensure
FileUtils.rm_rf destination_root
end