A Ruby gem to get planning applications data from UK council websites.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

spec_helper.rb 594 B

123456789101112131415161718192021222324
  1. require 'simplecov'
  2. SimpleCov.start
  3. require 'uk_planning_scraper'
  4. require 'webmock'
  5. require 'vcr'
  6. RSpec.configure do |config|
  7. config.expect_with :rspec do |expectations|
  8. expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  9. end
  10. config.mock_with :rspec do |mocks|
  11. mocks.verify_partial_doubles = true
  12. end
  13. config.shared_context_metadata_behavior = :apply_to_host_groups
  14. end
  15. VCR.configure do |config|
  16. config.cassette_library_dir = "spec/vcr_cassettes"
  17. config.hook_into :webmock # or :fakeweb
  18. config.allow_http_connections_when_no_cassette = true
  19. end