spec/spec_helper.rb in zenlish-0.1.14 vs spec/spec_helper.rb in zenlish-0.1.15
- old
+ new
@@ -3,10 +3,14 @@
# require_relative '../lib/zenlish'
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
-
+
config.expect_with :rspec do |c|
+ # Disable the `should` syntax
c.syntax = :expect
end
+
+ # Display stack trace in case of failure
+ config.full_backtrace = true
end