mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
adds bundler support
Conflicts: .gitignore spec/spec_helper.rb
This commit is contained in:
parent
bf55f75431
commit
ed47f08c6a
4 changed files with 27 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,4 +6,3 @@ pkg
|
|||
bundled_gems/
|
||||
examples/db/*.db
|
||||
examples/config/database.yml
|
||||
Gemfile
|
||||
|
|
16
Gemfile
Normal file
16
Gemfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
source "http://rubygems.org"
|
||||
group :development do
|
||||
gem "mysql"
|
||||
gem "rspec", "1.3.0"
|
||||
gem "cucumber"
|
||||
gem "jeweler"
|
||||
gem "mongo"
|
||||
gem "mongo_ext"
|
||||
gem "mongo_mapper"
|
||||
gem "datamapper"
|
||||
gem "couch_potato"
|
||||
gem "activerecord"
|
||||
gem "rake"
|
||||
gem "ruby-debug"
|
||||
end
|
||||
|
4
Rakefile
4
Rakefile
|
@ -1,3 +1,7 @@
|
|||
require "rubygems"
|
||||
require "bundler"
|
||||
Bundler.setup
|
||||
|
||||
require 'rake'
|
||||
|
||||
begin
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
require 'rubygems'
|
||||
require "rubygems"
|
||||
require "bundler"
|
||||
Bundler.setup
|
||||
|
||||
require 'spec'
|
||||
#require 'active_record'
|
||||
#require 'mongo_mapper'
|
||||
$:.unshift(File.dirname(__FILE__) + '/../lib')
|
||||
require 'database_cleaner'
|
||||
|
||||
|
||||
|
||||
Spec::Runner.configure do |config|
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue