Skip to content
This repository has been archived by the owner on May 9, 2018. It is now read-only.

Commit

Permalink
Gemfilelol
Browse files Browse the repository at this point in the history
  • Loading branch information
rspeicher committed Apr 8, 2011
1 parent c6a8e32 commit 6ae9bc3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 35 deletions.
6 changes: 0 additions & 6 deletions Gemfile
Expand Up @@ -36,12 +36,6 @@ group :development, :test do
gem 'autotest-standalone'
gem 'ruby-debug'
gem 'launchy'
gem 'spork'

if RUBY_PLATFORM =~ /darwin/
gem 'autotest-growl'
gem 'autotest-fsevent'
end
end

group :production do
Expand Down
8 changes: 0 additions & 8 deletions Gemfile.lock
Expand Up @@ -37,9 +37,6 @@ GEM
activesupport (= 3.0.4)
activesupport (3.0.4)
arel (2.0.9)
autotest-fsevent (0.2.5)
sys-uname
autotest-growl (0.2.9)
autotest-standalone (4.5.5)
builder (2.1.2)
capybara (0.4.1.2)
Expand Down Expand Up @@ -151,8 +148,6 @@ GEM
json_pure
rubyzip
shoulda (2.11.3)
spork (0.8.4)
sys-uname (0.8.5)
term-ansicolor (1.0.5)
thor (0.14.6)
timecop (0.3.5)
Expand All @@ -171,8 +166,6 @@ PLATFORMS

DEPENDENCIES
authlogic (~> 2.1)!
autotest-fsevent
autotest-growl
autotest-standalone
capybara
cucumber (~> 0.10)
Expand All @@ -194,7 +187,6 @@ DEPENDENCIES
rspec-rails (~> 2.5)
ruby-debug
shoulda (~> 2.11)
spork
timecop (~> 0.3)
whenever (~> 0.6)
will_paginate (= 3.0.pre2)
36 changes: 15 additions & 21 deletions spec/spec_helper.rb
@@ -1,27 +1,21 @@
require 'spork'
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'

Spork.prefork do
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
FakeWeb.allow_net_connect = false

FakeWeb.allow_net_connect = false
end

Spork.each_run do
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}

RSpec.configure do |config|
config.mock_with :mocha
config.use_transactional_fixtures = true
RSpec.configure do |config|
config.mock_with :mocha
config.use_transactional_fixtures = true

config.include(FileFixture)
config.include(ControllerHelper, :type => :controller)
config.include(LoginHelper, :type => :controller)
config.include(FileFixture)
config.include(ControllerHelper, :type => :controller)
config.include(LoginHelper, :type => :controller)

config.after(:each) { User.delete_all }
end
config.after(:each) { User.delete_all }
end

0 comments on commit 6ae9bc3

Please sign in to comment.