Module: RSpec::Helpers::ClassMethods

Defined in:
lib/rspec/helpers.rb

Instance Method Summary collapse

Instance Method Details

#include_contexts(*contexts) ⇒ Object


Include multiple contexts.



53
54
55
56
57
# File 'lib/rspec/helpers.rb', line 53

def include_contexts(*contexts)
  contexts.map do |val|
    public_send(:include_context, val)
  end
end