Skip to content

Commit

Permalink
fix database issues with dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
quorauk committed Aug 25, 2023
1 parent d0af643 commit aa7a86e
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 352 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ group :test do
gem 'faker'
gem 'factory_bot_rails'
gem 'email_spec'
gem 'database_cleaner'
end
9 changes: 8 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ GEM
concurrent-ruby (1.2.2)
crass (1.0.6)
damerau-levenshtein (1.3.3)
database_cleaner (2.0.2)
database_cleaner-active_record (>= 2, < 3)
database_cleaner-active_record (2.1.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
date (3.3.3)
devise (4.9.2)
bcrypt (~> 3.0)
Expand Down Expand Up @@ -243,6 +249,7 @@ DEPENDENCIES
bundler (~> 2.0)
byebug
capybara
database_cleaner
devise-recognisable!
email_spec
factory_bot_rails
Expand All @@ -255,4 +262,4 @@ DEPENDENCIES
sqlite3

BUNDLED WITH
2.0.1
2.1.4
6 changes: 0 additions & 6 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ set -vx

bundle install

cd spec/dummy-app
bundle install
./bin/rails db:setup
./bin/rails assets:precompile
cd ../../

# Do any other automated setup that you need to do here
68 changes: 0 additions & 68 deletions spec/dummy-app/Gemfile

This file was deleted.

277 changes: 0 additions & 277 deletions spec/dummy-app/Gemfile.lock

This file was deleted.

4 changes: 4 additions & 0 deletions spec/dummy-app/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


Loading

0 comments on commit aa7a86e

Please sign in to comment.