```ruby
require 'minitest'

module Rohbau
  module ItBehavesLike

    def get_shared_example(spec)
      shared_specs_namespace::SharedSpec.get(spec)
    end

    def it_behaves_like(spec)
      shared_example = get_shared_example(spec)
      raise "No shared spec for #{spec.inspect} found" unless shared_example

      instance_eval(&shared_example)
    end

  end
end

class MiniTest::Spec
  extend Rohbau::ItBehavesLike
end
```

Change minitest require into minitest/spec
user
```ruby
require 'minitest/spec'

module Rohbau
  module ItBehavesLike

    def get_shared_example(spec)
      shared_specs_namespace::SharedSpec.get(spec)
    end

    def it_behaves_like(spec)
      shared_example = get_shared_example(spec)
      raise "No shared spec for #{spec.inspect} found" unless shared_example

      instance_eval(&shared_example)
    end

  end
end

class MiniTest::Spec
  extend Rohbau::ItBehavesLike
end
```
assistant