lib/keynote/testing/rspec.rb in keynote-1.1.1 vs lib/keynote/testing/rspec.rb in keynote-2.0.0

- old
+ new

@@ -1,6 +1,6 @@ -# encoding: UTF-8 +# frozen_string_literal: true require "rspec/core" require "keynote/testing/test_present_method" module Keynote @@ -14,13 +14,13 @@ end RSpec.configure do |config| if RSpec::Core::Version::STRING.starts_with?("3") config.include Keynote::ExampleGroup, - :type => :presenter, - :file_path => %r/spec.presenters/ + type: :presenter, + file_path: %r{spec.presenters} else config.include Keynote::ExampleGroup, - :type => :presenter, - :example_group => { :file_path => %r/spec.presenters/ } + type: :presenter, + example_group: {file_path: %r{spec.presenters}} end end