Module: React::Test

Defined in:
lib/react/test.rb,
lib/react/test/dsl.rb,
lib/react/test/utils.rb,
lib/react/test/session.rb,
lib/react/test/matchers/render_html_matcher.rb

Defined Under Namespace

Modules: DSL, Matchers Classes: Session, Utils

Class Method Summary collapse

Class Method Details

.current_sessionObject



7
8
9
# File 'lib/react/test.rb', line 7

def current_session
  @current_session ||= Session.new
end

.reset_session!Object



11
12
13
# File 'lib/react/test.rb', line 11

def reset_session!
  @current_session = nil
end