Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

removed useless comments.

  • Loading branch information...
commit 1b934a924523b66ad70ccac8e5cfc0a9693bbee3 1 parent c5b0c76
Eduardo Hertz authored March 28, 2012

Showing 1 changed file with 2 additions and 46 deletions. Show diff stats Hide diff stats

  1. 48  spec/spec_helper.rb
48  spec/spec_helper.rb
@@ -9,66 +9,22 @@
9 9
   ENV["RAILS_ENV"] = "test"
10 10
 
11 11
   require File.expand_path("../dummy/config/environment.rb",  __FILE__)
12  
-
13 12
   require 'rspec/rails'
14 13
   require 'factory_girl_rails'
15  
-
16 14
   # Requires factories defined in spree_core
17 15
   require 'spree/core/testing_support/factories'
18 16
 
19 17
   RSpec.configure do |config|
20  
-    # == Mock Framework
21  
-    #
22  
-    # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
23  
-    #
24  
-    # config.mock_with :mocha
25  
-    # config.mock_with :flexmock
26  
-    # config.mock_with :rr
27  
-    config.mock_with :rspec
28 18
 
29  
-    # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
  19
+    config.mock_with :rspec
30 20
     config.fixture_path = "#{::Rails.root}/spec/fixtures"
31  
-
32  
-    # If you're not using ActiveRecord, or you'd prefer not to run each of your
33  
-    # examples within a transaction, remove the following line or assign false
34  
-    # instead of true.
35 21
     config.use_transactional_fixtures = true
  22
+
36 23
   end
37 24
 
38 25
 end
39 26
 
40 27
 Spork.each_run do
41  
-
42 28
   require 'factory_girl_rails'
43  
-
44 29
 end
45 30
 
46  
-# --- Instructions ---
47  
-# Sort the contents of this file into a Spork.prefork and a Spork.each_run
48  
-# block.
49  
-#
50  
-# The Spork.prefork block is run only once when the spork server is started.
51  
-# You typically want to place most of your (slow) initializer code in here, in
52  
-# particular, require'ing any 3rd-party gems that you don't normally modify
53  
-# during development.
54  
-#
55  
-# The Spork.each_run block is run each time you run your specs.  In case you
56  
-# need to load files that tend to change during development, require them here.
57  
-# With Rails, your application modules are loaded automatically, so sometimes
58  
-# this block can remain empty.
59  
-#
60  
-# Note: You can modify files loaded *from* the Spork.each_run block without
61  
-# restarting the spork server.  However, this file itself will not be reloaded,
62  
-# so if you change any of the code inside the each_run block, you still need to
63  
-# restart the server.  In general, if you have non-trivial code in this file,
64  
-# it's advisable to move it into a separate file so you can easily edit it
65  
-# without restarting spork.  (For example, with RSpec, you could move
66  
-# non-trivial code into a file spec/support/my_helper.rb, making sure that the
67  
-# spec/support/* files are require'd from inside the each_run block.)
68  
-#
69  
-# Any code that is left outside the two blocks will be run during preforking
70  
-# *and* during each_run -- that's probably not what you want.
71  
-#
72  
-# These instructions should self-destruct in 10 seconds.  If they don't, feel
73  
-# free to delete them.
74  
-

0 notes on commit 1b934a9

Please sign in to comment.
Something went wrong with that request. Please try again.