Skip to content

Commit ce5172b

Browse files
committed
adds database-cleaner and schema
1 parent e2f5321 commit ce5172b

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ group :test do
3636
gem 'cucumber-rails', '~> 1.4.3', require: false
3737
gem 'capybara-webkit', '~> 1.11.1'
3838
gem 'poltergeist', '~> 1.9.0'
39+
gem 'database_cleaner'
3940
end
4041

4142
group :development, :test do

Gemfile.lock

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ GEM
8282
nokogiri (~> 1.5)
8383
railties (>= 3, < 5)
8484
cucumber-wire (0.0.1)
85+
database_cleaner (1.4.1)
8586
debug_inspector (0.0.2)
8687
diff-lcs (1.2.5)
8788
erubis (2.7.0)
@@ -200,6 +201,7 @@ DEPENDENCIES
200201
capybara-webkit (~> 1.11.1)
201202
coffee-rails (~> 4.1.0)
202203
cucumber-rails (~> 1.4.3)
204+
database_cleaner
203205
es6-rails
204206
jbuilder (~> 2.0)
205207
jquery-rails

db/schema.rb

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# encoding: UTF-8
2+
# This file is auto-generated from the current state of the database. Instead
3+
# of editing this file, please use the migrations feature of Active Record to
4+
# incrementally modify your database, and then regenerate this schema definition.
5+
#
6+
# Note that this schema.rb definition is the authoritative source for your
7+
# database schema. If you need to create the application database on another
8+
# system, you should be using db:schema:load, not running all the migrations
9+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
10+
# you'll amass, the slower it'll run and the greater likelihood for issues).
11+
#
12+
# It's strongly recommended that you check this file into your version control system.
13+
14+
ActiveRecord::Schema.define(version: 0) do
15+
16+
end

0 commit comments

Comments
 (0)