Skip to content
Browse files

It would be nice to actually commit test fixtures

  • Loading branch information...
1 parent 785493f commit dedb842fda708a3c3593f277b7092ee19a5ece4c Carlhuda committed Apr 30, 2010
View
2 railties/test/fixtures/lib/empty_builder.rb
@@ -0,0 +1,2 @@
+class AppBuilder
+end
View
7 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
View
7 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

0 comments on commit dedb842

Please sign in to comment.
Something went wrong with that request. Please try again.