Sha256: 1b0f354bd8a8feb7931f8e69400460e72c16ffe5a57d1ac0dc7585f3babeb117

Contents?: true

Size: 630 Bytes

Versions: 1

Compression:

Stored size: 630 Bytes

Contents

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]

SimpleCov.start do
  project_name 'rack-blogengine'
  add_filter '/test/'
  add_filter '/pkg/'
  add_filter '/spec/'
  add_filter '/features/'
  add_filter '/doc/'
  add_filter '/assets/'
end if ENV['COVERAGE']

require 'capybara/cucumber'
require 'rack/blogengine'

Rack::Blogengine.documents = [{ html: '<!DOCTYPE html><body><h2>index</h2></body></html>',
                                path: '/' }]

Capybara.app = Rack::Blogengine::Application.new

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-blogengine-0.2.5 features/support/env.rb