Module: Transpec::RSpecDSL

Constant Summary collapse

EXAMPLE_GROUP_METHODS =
[
  :example_group,
  :describe, :context,
  :xdescribe, :xcontext,
  :fdescribe, :fcontext,
  :shared_examples, :shared_context, :share_examples_for, :shared_examples_for,
  :feature # Capybara
].freeze
EXAMPLE_METHODS =
[
  :example, :it, :specify,
  :focus, :fexample, :fit, :fspecify,
  :focused, # TODO: Support conversion
  :xexample, :xit, :xspecify,
  :skip, :pending,
  :scenario, :xscenario # Capybara
].freeze
HOOK_METHODS =
[
  :before, :after, :around,
  :background # Capybara
].freeze
HELPER_METHODS =
[
  :subject, :subject!, :let, :let!,
  :given, :given! # Capybara
].freeze