Class: ODDB::State::Companies::TestRootCompanyState::StubSession

Inherits:
Object
  • Object
show all
Defined in:
test/test_state/companies/company.rb

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) app

Returns the value of attribute app



17
18
19
# File 'test/test_state/companies/company.rb', line 17

def app
  @app
end

- (Object) user_input(*args)



18
19
20
21
22
# File 'test/test_state/companies/company.rb', line 18

def user_input(*args)
  input = @user_input.dup
  input.delete_if { |key, val| !args.include?(key) }
  input
end