mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
remove extra line endings.
This commit is contained in:
parent
77dece1e14
commit
73afd350d5
13 changed files with 0 additions and 13 deletions
|
@ -3,4 +3,3 @@ guard :rspec, cmd: "bundle exec rspec" do
|
||||||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
||||||
watch("spec/spec_helper.rb") { "spec" }
|
watch("spec/spec_helper.rb") { "spec" }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
1
Rakefile
1
Rakefile
|
@ -9,4 +9,3 @@ CLOBBER.include "pkg"
|
||||||
require "bundler/gem_helper"
|
require "bundler/gem_helper"
|
||||||
Bundler::GemHelper.install_tasks name: :database_cleaner
|
Bundler::GemHelper.install_tasks name: :database_cleaner
|
||||||
Bundler::GemHelper.install_tasks name: :"database_cleaner-core"
|
Bundler::GemHelper.install_tasks name: :"database_cleaner-core"
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,3 @@ set -vx
|
||||||
|
|
||||||
bundle check || bundle install
|
bundle check || bundle install
|
||||||
cp spec/support/sample.config.yml spec/support/config.yml
|
cp spec/support/sample.config.yml spec/support/config.yml
|
||||||
|
|
||||||
|
|
|
@ -20,4 +20,3 @@ Feature: example
|
||||||
When I create a widget in another db
|
When I create a widget in another db
|
||||||
Then I should see 0 widget in one db
|
Then I should see 0 widget in one db
|
||||||
And I should see 1 widget in another db
|
And I should see 1 widget in another db
|
||||||
|
|
||||||
|
|
|
@ -38,4 +38,3 @@ Feature: multiple database cleaning
|
||||||
| DataMapper | transaction |
|
| DataMapper | transaction |
|
||||||
| ActiveRecord | transaction |
|
| ActiveRecord | transaction |
|
||||||
| Sequel | transaction |
|
| Sequel | transaction |
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
require "database_cleaner/active_record"
|
require "database_cleaner/active_record"
|
||||||
|
|
||||||
|
|
|
@ -27,4 +27,3 @@ module DatabaseCleaner
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -18,4 +18,3 @@ module DatabaseCleaner
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,3 @@ RSpec.configure do |config|
|
||||||
|
|
||||||
config.disable_monkey_patching!
|
config.disable_monkey_patching!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -37,4 +37,3 @@ class ActiveRecordHelper < DatabaseCleaner::Spec::DatabaseHelper
|
||||||
ActiveRecord::ConnectionAdapters::Mysql2Adapter::NATIVE_DATABASE_TYPES[:primary_key] = primary_key_sql
|
ActiveRecord::ConnectionAdapters::Mysql2Adapter::NATIVE_DATABASE_TYPES[:primary_key] = primary_key_sql
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -33,4 +33,3 @@ class DataMapperHelper < DatabaseCleaner::Spec::DatabaseHelper
|
||||||
DataMapper.setup(:default, config)
|
DataMapper.setup(:default, config)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
my_db:
|
my_db:
|
||||||
database: <%= "ONE".downcase %>
|
database: <%= "ONE".downcase %>
|
||||||
|
|
||||||
|
|
|
@ -22,4 +22,3 @@ sqlite3:
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue