aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-02-18 23:57:37 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-02-18 23:59:48 +0900
commit57b0ae8011ab0502253631bd6fdbc0fc838b593e (patch)
treee7249f5fb7015446d089e7de6d4e83d6c87bf4d5 /railties
parentb04c81d367323849a0019f6964639efaad0e9df0 (diff)
downloadrails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.tar.gz
rails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.tar.bz2
rails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.zip
Gist URLs are now namespaced
see: https://github.com/blog/1406-namespaced-gists
Diffstat (limited to 'railties')
-rw-r--r--railties/test/generators/shared_generator_tests.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb
index d203afed5c..2081f4aba8 100644
--- a/railties/test/generators/shared_generator_tests.rb
+++ b/railties/test/generators/shared_generator_tests.rb
@@ -83,7 +83,7 @@ module SharedGeneratorTests
end
def test_template_is_executed_when_supplied
- path = "http://gist.github.com/103208.txt"
+ path = "https://gist.github.com/josevalim/103208/raw/"
template = %{ say "It works!" }
template.instance_eval "def read; self; end" # Make the string respond to read
@@ -92,7 +92,7 @@ module SharedGeneratorTests
end
def test_template_is_executed_when_supplied_an_https_path
- path = "https://gist.github.com/103208.txt"
+ path = "https://gist.github.com/josevalim/103208/raw/"
template = %{ say "It works!" }
template.instance_eval "def read; self; end" # Make the string respond to read
@@ -188,7 +188,7 @@ module SharedCustomGeneratorTests
end
def test_builder_option_with_http
- url = "http://gist.github.com/103208.txt"
+ url = "https://gist.github.com/josevalim/103208/raw/"
template = "class #{builder_class}; end"
template.instance_eval "def read; self; end" # Make the string respond to read