Skip to content

Commit

Permalink
[gems] removing spork
Browse files Browse the repository at this point in the history
  • Loading branch information
andreslucena committed Jan 29, 2014
1 parent 93b0158 commit 9f7d454
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -37,6 +37,7 @@ group :test, :development do
gem 'database_cleaner'
gem 'minitest-spec-rails'
gem 'iconv'
gem 'zeus'
end

group :development do
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Expand Up @@ -389,6 +389,8 @@ GEM
oauth (~> 0.4.4)
oauth2 (~> 0.6)
simple_oauth (>= 0.1.5)
zeus (0.13.3)
method_source (>= 0.6.7)

PLATFORMS
ruby
Expand Down Expand Up @@ -458,3 +460,4 @@ DEPENDENCIES
will_paginate
will_paginate-bootstrap
yaml_db
zeus
24 changes: 0 additions & 24 deletions test/test_helper.rb
@@ -1,28 +1,4 @@
require 'rubygems'
require 'spork'
#uncomment the following line to use spork with the debugger
#require 'spork/ext/ruby-debug'

Spork.prefork do
# Loading more in this block will cause your tests to run faster. However,
# if you change any configuration or code from libraries loaded here, you'll
# need to restart spork for it take effect.

ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

require 'database_cleaner'
DatabaseCleaner.strategy = :truncation

end

Spork.each_run do
# This code will be run each time you run your specs.
FactoryGirl.reload
DatabaseCleaner.clean

end

class ActiveSupport::TestCase
include FactoryGirl::Syntax::Methods
Expand Down

0 comments on commit 9f7d454

Please sign in to comment.