```ruby
require 'opal-rspec'
require 'opal/jquery'
require 'opal/jquery/rspec'

module JQueryTestHelpers
  def find(selector)
    Element.find selector
  end
end

RSpec.configure do |config|
  config.include JQueryTestHelpers
end
```

Use doc format for specs
user
```ruby
require 'opal-rspec'
require 'opal/jquery'
require 'opal/jquery/rspec'

module JQueryTestHelpers
  def find(selector)
    Element.find selector
  end
end

RSpec.configure do |config|
  config.include JQueryTestHelpers
  config.formatter = :doc
end
```
assistant