spec/spec_helper.rb in rley-0.4.07 vs spec/spec_helper.rb in rley-0.4.08
- old
+ new
@@ -4,17 +4,17 @@
require 'simplecov'
require 'coveralls'
Coveralls.wear!
-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
-]
+])
-
-require 'rspec' # Use the RSpec framework
require 'pp' # Use pretty-print for debugging purposes
+require 'rspec' # Use the RSpec framework
+
RSpec.configure do |config|
config.expect_with :rspec do |c|
# Disable the `should` syntax...
c.syntax = :expect