Sha256: 6b3f857d75f45401583c518fffbca482adbbc6275768904e3dfeb846811fdbd6

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

require 'rack/test'
require 'capybara/rspec'
Capybara.app = Woyo::Server
Capybara.ignore_hidden_elements = false

ENV['RACK_ENV'] = 'test'

module RSpecMixin
  include Rack::Test::Methods
  def app() Woyo::Server end
end

RSpec.configure { |c| c.include RSpecMixin }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
woyo-server-0.0.5 spec/spec_helper.rb
woyo-server-0.0.4 spec/spec_helper.rb
woyo-server-0.0.2 spec/spec_helper.rb