Skip to content
Browse files

Add features, fix bugs

  • Loading branch information...
1 parent 7f734a8 commit e0d6438580b13b2ccb5c67f1f0ba54554700197a @dolzenko committed Apr 14, 2010
View
4 lib/static_builder.rb
@@ -40,8 +40,8 @@ def get(path)
p = "#{ path }.html"
puts "Caching #{ p }"
- unless response = app.get(p)
- raise "Failed to get #{ p }: #{ response.inspect }"
+ unless app.get(p) == 200
+ raise "Failed to get #{ p }"
end
end
View
8 test/functional/debug/console_controller_test.rb
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class Debug::ConsoleControllerTest < ActionController::TestCase
+ # Replace this with your real tests.
+ test "the truth" do
+ assert true
+ end
+end
View
4 test/unit/helpers/debug/console_helper_test.rb
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class Debug::ConsoleHelperTest < ActionView::TestCase
+end

0 comments on commit e0d6438

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