Sha256: 5704aecc0ce846b6137c297dcb44ac0e297866cc3551662e772de7444944b395
Contents?: true
Size: 635 Bytes
Versions: 2
Compression:
Stored size: 635 Bytes
Contents
require 'turnip_formatter' RSpec.configure do |config| config.add_formatter RSpecTurnipFormatter, 'report.html' end Dir.glob(File.dirname(__FILE__) + '/steps/**/*steps.rb') { |f| load f, true } RSpec.configure do |config| config.before(:example, before_hook_error: true) do undefined_method # NameError end config.after(:example, after_hook_error: true) do expect(true).to be false # RSpec Matcher Error end end # TurnipFormatter.configure do |config| # config.title = 'My Report' # config.add_stylesheet File.dirname(__FILE__) + '/foo.css' # config.add_javascript File.dirname(__FILE__) + '/bar.js' # end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
turnip_formatter-0.6.0.pre.beta.6 | example/spec/spec_helper.rb |
turnip_formatter-0.6.0.pre.beta.5 | example/spec/spec_helper.rb |