From ed87454ff8b6b7b30f39d5bfdb9f7a1b54da837f Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sun, 1 Jun 2014 14:01:57 -0400 Subject: [PATCH] Remove tests for gists. --- test/test_tags.rb | 109 ---------------------------------------------- 1 file changed, 109 deletions(-) diff --git a/test/test_tags.rb b/test/test_tags.rb index 97c82b91..7f2dd4d5 100644 --- a/test/test_tags.rb +++ b/test/test_tags.rb @@ -259,115 +259,6 @@ CONTENT end end - context "gist tag" do - context "simple" do - setup do - @gist = 358471 - content = < 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true}) - end - - should "write script tag" do - assert_match "", @result - end - end - - context "for private gist" do - context "when valid" do - setup do - @gist = "mattr-/24081a1d93d2898ecf0f" - @filename = "myfile.ext" - content = < 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true}) - end - - should "write script tag with specific file in gist" do - assert_match "", @result - end - end - - should "raise ArgumentError when invalid" do - @gist = "mattr-24081a1d93d2898ecf0f" - @filename = "myfile.ext" - content = < 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true}) - end - end - end - - context "with specific file" do - setup do - @gist = 358471 - @filename = 'somefile.rb' - content = < 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true}) - end - - should "write script tag with specific file in gist" do - assert_match "", @result - end - end - - context "with blank gist id" do - should "raise ArgumentError" do - content = < 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true}) - end - end - end - - context "with invalid gist id" do - should "raise ArgumentError" do - invalid_gist = 'invalid' - content = < 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true}) - end - end - end - end - context "include tag with parameters" do context "with symlink'd include" do