Class: RainforestRubyRuntime::Drivers::Sauce
- Inherits:
-
Object
- Object
- RainforestRubyRuntime::Drivers::Sauce
- Defined in:
- lib/rainforest_ruby_runtime/drivers/sauce.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options) ⇒ Sauce
constructor
A new instance of Sauce.
- #to_rspec(tests) ⇒ Object
Constructor Details
#initialize(options) ⇒ Sauce
6 7 8 |
# File 'lib/rainforest_ruby_runtime/drivers/sauce.rb', line 6 def initialize() = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/rainforest_ruby_runtime/drivers/sauce.rb', line 4 def end |
Instance Method Details
#to_rspec(tests) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/rainforest_ruby_runtime/drivers/sauce.rb', line 10 def to_rspec(tests) apply_config RSpec.describe 'Rainforest', sauce: true, tests: tests do [:tests].each do |test| it "[#{test.id}] #{test.title}" do test.run end end end end |