spec/spec_helper.rb in keikokuc-0.0.3 vs spec/spec_helper.rb in keikokuc-0.1
- old
+ new
@@ -3,12 +3,12 @@
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
require 'keikokuc'
-require './spec/factories'
-require './spec/support/fake_keikoku'
+require 'factories'
+require 'support/fake_keikoku'
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus
@@ -17,6 +17,10 @@
# the seed, which is printed after each run.
# --seed 1234
config.order = 'random'
config.include FactoryGirl::Syntax::Methods
+
+ config.expect_with :rspec do |c|
+ c.syntax = :expect
+ end
end