spec/spec_helper.rb in eman-0.0.2 vs spec/spec_helper.rb in eman-0.0.3
- old
+ new
@@ -1,8 +1,11 @@
# Require all files under /lib
Dir[File.expand_path('../../lib/**/*.rb', __FILE__)].each { |f| require f }
+# Require all support files
+Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }
+
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
# this file to always be loaded, without a need to explicitly require it in any
# files.
@@ -40,9 +43,11 @@
# Prevents you from mocking or stubbing a method that does not exist on
# a real object. This is generally recommended, and will default to
# `true` in RSpec 4.
mocks.verify_partial_doubles = true
end
+
+ config.include DictionaryMacros
# The settings below are suggested to provide a good initial experience
# with RSpec, but feel free to customize to your heart's content.
=begin
# These two settings work together to allow you to limit a spec run