module Turnip::RSpec::Loader

Public Instance Methods

load(*a, &b) click to toggle source
Calls superclass method
# File lib/rutabaga/no_turnip.rb, line 13
def load(*a, &b)
  if a.first.end_with?('.feature')
    ::RSpec.warning "Calling features directly has been disabled by rutabaga. To re-enable, do not require rutabaga/no_turnip."
  else
    super
  end
end

Private Instance Methods