require 'rspec/the/version' module RSpec module The def the(method, &block) describe(method.to_s) do let(:the_subject) { public_send(method) } def is_expected expect(the_subject) end example(nil, &block) end end end end RSpec.configure do |rspec| rspec.extend RSpec::The end