Module: Infrataster::Helpers::RSpecHelper

Defined in:
lib/infrataster/helpers/rspec_helper.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



4
5
6
# File 'lib/infrataster/helpers/rspec_helper.rb', line 4

def method_missing(method, *args)
  current_infrataster_context.public_send(method, *args)
end

Instance Method Details

#current_infrataster_contextObject



8
9
10
# File 'lib/infrataster/helpers/rspec_helper.rb', line 8

def current_infrataster_context
  @infrataster_context
end