Sha256: 6f3d59a20feaa57e9f9d03b4fe9f370ead4b72b1ca2243894511538a7ee6d9c3

Contents?: true

Size: 524 Bytes

Versions: 9

Compression:

Stored size: 524 Bytes

Contents

require 'rspec'
require 'rspec/autorun'
require 'rbconfig'
require 'capybara'
require 'capybara/spec/spec_helper'
require 'capybara/accessible'
require 'accessible_app'
require 'pry'

PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')).freeze
$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')

RSpec.configure do |c|
  Capybara::SpecHelper.configure(c)
  c.around(:each, :inaccessible => true) do |example|
    Capybara::Accessible.skip_audit { example.run }
  end
end

Capybara.current_driver = :accessible

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
capybara-accessible-0.1.10 spec/spec_helper.rb
capybara-accessible-0.2.1 spec/spec_helper.rb
capybara-accessible-0.2.0 spec/spec_helper.rb
capybara-accessible-0.1.9 spec/spec_helper.rb
capybara-accessible-0.1.8 spec/spec_helper.rb
capybara-accessible-0.1.7 spec/spec_helper.rb
capybara-accessible-0.1.6 spec/spec_helper.rb
capybara-accessible-0.1.5 spec/spec_helper.rb
capybara-accessible-0.1.4 spec/spec_helper.rb