It's been waaay too long since I last committed. Eesh.

This commit is contained in:
Dan Buch
2012-03-07 00:11:05 -05:00
parent a5b139f6e7
commit ee337ba7ee
15 changed files with 323 additions and 117 deletions

View File

@@ -1,19 +0,0 @@
require 'spec_helper'
describe MapCrawler do
let(:subject) { MapCrawler.new(Setting.map(:base_url)) }
describe 'when crawling for actual maps', :integration => true do
it 'should increment the map count for each map found' do
map_count = 0
count_increment = lambda do |n|
map_count += 1
end
expect do
subject.crawl(count_increment)
end.to change{ map_count }.by_at_least(26)
end
end
end