OSDN Git Service

comic test ok
[pettanr/pettanr.git] / spec / spec_helper.rb
index 6d7f66d..ff72142 100644 (file)
@@ -7,6 +7,7 @@ require 'rspec/autorun'
 # 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}
+require File.expand_path(File.dirname(__FILE__) + '/factories.rb')\r
 
 RSpec.configure do |config|
   # == Mock Framework
@@ -30,4 +31,7 @@ RSpec.configure do |config|
   # automatically. This will be the default behavior in future versions of
   # rspec-rails.
   config.infer_base_class_for_anonymous_controllers = false
+  config.include Devise::TestHelpers, :type => :controller\r
+#  config.extend ControllerMacros, :type => :controller\r
+
 end