iliabylich/capybara-async-runner

View on GitHub
examples/indexeddb/commands/query.rb

Summary

Maintainability
A
0 mins
Test Coverage
class IndexDB::Commands::Query < Capybara::AsyncRunner::Command
  ErrorDuringQuerying = Class.new(StandardError)

  self.command_name = 'indexeddb:query'
  self.file_to_run = 'commands/query'

  response :success
  response :error do |response|
    raise ErrorDuringQuerying, response
  end
end