Class: Webhookdb::SpecHelpers::Citest::RSpecResult

Inherits:
Object
  • Object
show all
Defined in:
lib/webhookdb/spec_helpers/citest.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#examplesObject

Returns the value of attribute examples.



91
92
93
# File 'lib/webhookdb/spec_helpers/citest.rb', line 91

def examples
  @examples
end

#failuresObject

Returns the value of attribute failures.



91
92
93
# File 'lib/webhookdb/spec_helpers/citest.rb', line 91

def failures
  @failures
end

#htmlObject

Returns the value of attribute html.



91
92
93
# File 'lib/webhookdb/spec_helpers/citest.rb', line 91

def html
  @html
end

#pendingObject

Returns the value of attribute pending.



91
92
93
# File 'lib/webhookdb/spec_helpers/citest.rb', line 91

def pending
  @pending
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


93
94
95
# File 'lib/webhookdb/spec_helpers/citest.rb', line 93

def ok?
  return !self.examples.nil?
end