Cleanup and get rspec to run again

This commit is contained in:
Chris Seelus
2021-02-11 16:57:23 +01:00
parent 6fee31fc81
commit ee79596509
63 changed files with 457 additions and 1448 deletions
+22
View File
@@ -0,0 +1,22 @@
require_relative 'boot'
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
require 'crono'
module Dummy
class Application < Rails::Application
config.load_defaults Rails::VERSION::STRING.to_f
# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files
# in config/environments, which are processed later.
#
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")
end
end
+5
View File
@@ -0,0 +1,5 @@
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../Gemfile', __dir__)
require "bundler/setup" if File.exist?(ENV['BUNDLE_GEMFILE'])
$LOAD_PATH.unshift File.expand_path('../../../lib', __dir__)
+3
View File
@@ -0,0 +1,3 @@
test:
adapter: sqlite3
database: db/crono_test.sqlite
+2
View File
@@ -0,0 +1,2 @@
# Load the Rails application.
require_relative 'application'
+3
View File
@@ -0,0 +1,3 @@
Rails.application.routes.draw do
root 'pages#index'
end
+3
View File
@@ -0,0 +1,3 @@
test:
service: Disk
root: /Users/chris/Sites/_playground/crono/tmp/storage