14 lines
214 B
Ruby
14 lines
214 B
Ruby
require 'mocha'
|
|
require 'capybara/rspec'
|
|
require 'capybara/zombie'
|
|
|
|
Capybara.default_driver = :zombie
|
|
|
|
ENV['RACK_ENV'] = 'test'
|
|
|
|
RSpec.configure do |config|
|
|
config.mock_with :mocha
|
|
config.include Capybara
|
|
end
|
|
|