A Ruby gem to get planning applications data from UK council websites.
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- require 'spec_helper'
-
- describe UKPlanningScraper::Authority do
-
- describe '#named' do
-
- let(:scraper) { UKPlanningScraper::Authority.named(authority_name) }
-
- context 'for 4 days of Brighton and Hove' do
- let(:authority_name) { 'Brighton and Hove' }
-
- it 'returns apps' do
- apps = VCR.use_cassette("#{self.class.description}") {
- scraper.decided_days(4).scrape({ delay: 0 })
- }
- pp apps
- # expect(authority).to be_a(UKPlanningScraper::Authority)
- end
- end
-
- end
-
- end
|