Class: Pinspec::TestStack

Inherits:
Data
  • Object
show all
Defined in:
lib/pinspec/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#database_cleaner_gemObject (readonly)

Returns the value of attribute database_cleaner_gem

Returns:

  • (Object)

    the current value of database_cleaner_gem



190
191
192
# File 'lib/pinspec/types.rb', line 190

def database_cleaner_gem
  @database_cleaner_gem
end

#frameworkObject (readonly)

Returns the value of attribute framework

Returns:

  • (Object)

    the current value of framework



190
191
192
# File 'lib/pinspec/types.rb', line 190

def framework
  @framework
end

#snapshot_backendsObject (readonly)

Returns the value of attribute snapshot_backends

Returns:

  • (Object)

    the current value of snapshot_backends



190
191
192
# File 'lib/pinspec/types.rb', line 190

def snapshot_backends
  @snapshot_backends
end

#vcrObject (readonly)

Returns the value of attribute vcr

Returns:

  • (Object)

    the current value of vcr



190
191
192
# File 'lib/pinspec/types.rb', line 190

def vcr
  @vcr
end

#webmockObject (readonly)

Returns the value of attribute webmock

Returns:

  • (Object)

    the current value of webmock



190
191
192
# File 'lib/pinspec/types.rb', line 190

def webmock
  @webmock
end

Instance Method Details

#stubs_http?Boolean

Returns:

  • (Boolean)


191
192
193
# File 'lib/pinspec/types.rb', line 191

def stubs_http?
  webmock || vcr
end