Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Added specs for universal gems on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jaym authored and indirect committed Apr 11, 2015
1 parent bd078f2 commit b7d5d90
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions spec/resolver/platform_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
platforms "mingw32 mswin32 x64-mingw32" do |platform|
gem "thin", "1.2.7", platform
end
gem "win32-api", "1.5.1", "universal-mingw32"
end
end

Expand All @@ -57,6 +58,18 @@
dep "thin"
should_resolve_as %w(thin-1.2.7-x64-mingw32)
end

it "finds universal-mingw gems on x86-mingw" do
platform "x86-mingw32"
dep "win32-api"
should_resolve_as %w(win32-api-1.5.1-universal-mingw32)
end

it "finds universal-mingw gems on x64-mingw" do
platform "x64-mingw32"
dep "win32-api"
should_resolve_as %w(win32-api-1.5.1-universal-mingw32)
end
end

describe "with conflicting cases" do
Expand Down

0 comments on commit b7d5d90

Please sign in to comment.