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



182
183
184
# File 'lib/pinspec/types.rb', line 182

def database_cleaner_gem
  @database_cleaner_gem
end

#frameworkObject (readonly)

Returns the value of attribute framework

Returns:

  • (Object)

    the current value of framework



182
183
184
# File 'lib/pinspec/types.rb', line 182

def framework
  @framework
end

#snapshot_backendsObject (readonly)

Returns the value of attribute snapshot_backends

Returns:

  • (Object)

    the current value of snapshot_backends



182
183
184
# File 'lib/pinspec/types.rb', line 182

def snapshot_backends
  @snapshot_backends
end

#vcrObject (readonly)

Returns the value of attribute vcr

Returns:

  • (Object)

    the current value of vcr



182
183
184
# File 'lib/pinspec/types.rb', line 182

def vcr
  @vcr
end

#webmockObject (readonly)

Returns the value of attribute webmock

Returns:

  • (Object)

    the current value of webmock



182
183
184
# File 'lib/pinspec/types.rb', line 182

def webmock
  @webmock
end

Instance Method Details

#stubs_http?Boolean

Returns:

  • (Boolean)


183
184
185
# File 'lib/pinspec/types.rb', line 183

def stubs_http?
  webmock || vcr
end