aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/fixtures
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-04-30 16:25:40 -0700
committerCarlhuda <carlhuda@engineyard.com>2010-04-30 16:25:40 -0700
commitdedb842fda708a3c3593f277b7092ee19a5ece4c (patch)
treeb6cd301e4976618e94fd8f577f4ea9a3ec216fcc /railties/test/fixtures
parent785493ffed41abcca0686bf05b0a0157e0844d47 (diff)
downloadrails-dedb842fda708a3c3593f277b7092ee19a5ece4c.tar.gz
rails-dedb842fda708a3c3593f277b7092ee19a5ece4c.tar.bz2
rails-dedb842fda708a3c3593f277b7092ee19a5ece4c.zip
It would be nice to actually commit test fixtures
Diffstat (limited to 'railties/test/fixtures')
-rw-r--r--railties/test/fixtures/lib/empty_builder.rb2
-rw-r--r--railties/test/fixtures/lib/simple_builder.rb7
-rw-r--r--railties/test/fixtures/lib/tweak_builder.rb7
3 files changed, 16 insertions, 0 deletions
diff --git a/railties/test/fixtures/lib/empty_builder.rb b/railties/test/fixtures/lib/empty_builder.rb
new file mode 100644
index 0000000000..babd9c2461
--- /dev/null
+++ b/railties/test/fixtures/lib/empty_builder.rb
@@ -0,0 +1,2 @@
+class AppBuilder
+end \ No newline at end of file
diff --git a/railties/test/fixtures/lib/simple_builder.rb b/railties/test/fixtures/lib/simple_builder.rb
new file mode 100644
index 0000000000..47dcdc0d96
--- /dev/null
+++ b/railties/test/fixtures/lib/simple_builder.rb
@@ -0,0 +1,7 @@
+class AppBuilder
+ def configru
+ create_file "config.ru", <<-R.strip
+run proc { |env| [200, { "Content-Type" => "text/html" }, ["Hello World"]] }
+ R
+ end
+end \ No newline at end of file
diff --git a/railties/test/fixtures/lib/tweak_builder.rb b/railties/test/fixtures/lib/tweak_builder.rb
new file mode 100644
index 0000000000..eed20ecc9b
--- /dev/null
+++ b/railties/test/fixtures/lib/tweak_builder.rb
@@ -0,0 +1,7 @@
+class AppBuilder < Rails::AppBuilder
+ def configru
+ create_file "config.ru", <<-R.strip
+run proc { |env| [200, { "Content-Type" => "text/html" }, ["Hello World"]] }
+ R
+ end
+end \ No newline at end of file