-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse and cache all years of clinical law rankings
- Loading branch information
Showing
10 changed files
with
17,811 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
RSpec.describe UsNewsRankings::Category do | ||
describe "#rankings" do | ||
describe "#source_urls" do | ||
let(:category){ described_class.new(2017) } | ||
|
||
it "should be implemented in a child class" do | ||
expect{category.rankings}.to raise_error("please implement #rankings on the child class") | ||
expect{category.source_urls}.to raise_error("Oh, please implement #source_urls on the child class.") | ||
end | ||
end | ||
|
||
describe "#html_dir" do | ||
let(:category){ described_class.new(2017) } | ||
|
||
it "should be implemented in a child class" do | ||
expect{category.html_dir}.to raise_error("Oh, please implement #html_dir on the child class.") | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.