spec/spec_helper.rb in ProtectedConstructor-1.0.5 vs spec/spec_helper.rb in ProtectedConstructor-2.0.0

- old
+ new

@@ -1,3 +1,14 @@ require 'klass' require 'klass_factory' -require_relative '../lib/ProtectedConstructor' +require_relative '../lib/ProtectedConstructor' + +# Use :should in stead of :expect +RSpec.configure do |config| + config.expect_with :rspec do |c| + c.syntax = :should + end + config.mock_with :rspec do |c| + c.syntax = :should + end + #config.raise_errors_for_deprecations! +end \ No newline at end of file