lib/generators/templates/scaffold/spec/spec_helper.rb in napa-0.1.2 vs lib/generators/templates/scaffold/spec/spec_helper.rb in napa-0.1.3

- old
+ new

@@ -1,9 +1,9 @@ ENV['RACK_ENV'] = 'test' require 'webmock/rspec' -require "rack/test" +require 'rack/test' require 'simplecov' require 'factory_girl' FactoryGirl.definition_file_paths = %w{./spec/factories} FactoryGirl.find_definitions @@ -12,11 +12,10 @@ require './app' require 'database_cleaner' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. -Dir["./spec/support/**/*.rb"].each {|f| require f} - +Dir['./spec/support/**/*.rb'].each { |f| require f } RSpec.configure do |config| config.include FactoryGirl::Syntax::Methods config.before(:suite) do