Class: FakeAssets
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-html-formatter-19.2.0/spec/html_formatter_spec.rb
Instance Method Summary collapse
Instance Method Details
#css ⇒ Object
9 10 11 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-html-formatter-19.2.0/spec/html_formatter_spec.rb', line 9 def css "<style>div { color: red }</style>" end |
#script ⇒ Object
13 14 15 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-html-formatter-19.2.0/spec/html_formatter_spec.rb', line 13 def script "<script>alert('Hi')</script>" end |
#template ⇒ Object
5 6 7 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-html-formatter-19.2.0/spec/html_formatter_spec.rb', line 5 def template "<html>{{css}}<body>{{messages}}</body>{{script}}</html>" end |