Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Use https to install fech-source submodule #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "sources"]
path = sources
url = git@github.com:dwillis/fech-sources.git
path = sources
url = https://github.com/dwillis/fech-sources.git
8 changes: 4 additions & 4 deletions spec/mappings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
end

it "should return the correct row_map" do
@mappings.for_row("sa").should == @mappings.map["^sa"]["^8.1|8.0"]
@mappings.for_row("sa").should == @mappings.map["^sa"]["^8.2|8.1|8.0"]
@mappings.for_row("f3p31").should_not == @mappings.for_row("f3p")
end

it "should use a greedy match on the row type, matching most complete available option" do
@mappings.for_row("f3p31").should == @mappings.map[FechUtils::ROW_TYPES[:f3p31].source]["^8.1|8.0|7.0|6.4|6.3|6.2|6.1"]
@mappings.for_row("f3p").should == @mappings.map[FechUtils::ROW_TYPES[:f3p].source]["^8.1|8.0|7.0"]
@mappings.for_row("f3p31").should == @mappings.map[FechUtils::ROW_TYPES[:f3p31].source]["^8.2|8.1|8.0|7.0|6.4|6.3|6.2|6.1"]
@mappings.for_row("f3p").should == @mappings.map[FechUtils::ROW_TYPES[:f3p].source]["^8.2|8.1|8.0|7.0"]
end

end
Expand Down Expand Up @@ -43,4 +43,4 @@

end

end
end