We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f6f51 commit 1e32926Copy full SHA for 1e32926
spec/gist_tag_spec.rb
@@ -26,6 +26,14 @@
26
end
27
28
29
+ context "classic Gist id style" do
30
+ let(:gist) { "1234321" }
31
+
32
+ it "produces the correct script tag" do
33
+ expect(output).to match(/<script src="https:\/\/gist.github.com\/#{gist}.js">\s<\/script>/)
34
+ end
35
36
37
context "with file specified" do
38
let(:gist) { "mattr-/24081a1d93d2898ecf0f" }
39
let(:filename) { "myfile.ext" }
0 commit comments