summaryrefslogtreecommitdiff
path: root/spec/bundler/realworld/git_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/realworld/git_spec.rb')
-rw-r--r--spec/bundler/realworld/git_spec.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/bundler/realworld/git_spec.rb b/spec/bundler/realworld/git_spec.rb
new file mode 100644
index 0000000000..9eff74f1c9
--- /dev/null
+++ b/spec/bundler/realworld/git_spec.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+RSpec.describe "github source", realworld: true do
+ it "properly fetches PRs" do
+ install_gemfile <<-G
+ source "https://rubygems.org"
+
+ gem "reline", github: "https://github.com/ruby/reline/pull/488"
+ G
+ end
+end