Skip to content

Commit 038df24

Browse files
committed
Stub MatchHistoryScraper
1 parent 8b7415d commit 038df24

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

lib/bnet_scraper/starcraft2.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require 'bnet_scraper/starcraft2/profile_scraper'
22
require 'bnet_scraper/starcraft2/league_scraper'
33
require 'bnet_scraper/starcraft2/achievement_scraper'
4+
require 'bnet_scraper/starcraft2/match_history_scraper'
45

56
module BnetScraper
67
# This module contains everything about scraping Starcraft 2 Battle.net accounts.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module BnetScraper
2+
module Starcraft2
3+
class MatchHistoryScraper
4+
5+
end
6+
end
7+
end
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require 'spec_helper'
2+
3+
describe BnetScraper::Starcraft2::MatchHistoryScraper do
4+
let(:url) { 'http://us.battle.net/sc2/en/profile/2377239/1/Demon/matches' }
5+
subject { BnetScraper::Starcraft2::MatchHistoryScraper.new(url: url) }
6+
7+
it 'should be true' do
8+
true
9+
end
10+
end

0 commit comments

Comments
 (0)