test/generator.rb in nephos-server-0.4.6 vs test/generator.rb in nephos-server-0.4.7
- old
+ new
@@ -16,9 +16,14 @@
`nephos-generator c test --debug`
assert File.exists? "app/test_controller.rb"
assert_equal "class TestController < Nephos::Controller", File.read("app/test_controller.rb").split("\n").first
`rm -f app/test_controller.rb`
+
+ `nephos-generator c testController --debug`
+ assert File.exists? "app/test_controller.rb"
+ assert_equal "class TestController < Nephos::Controller", File.read("app/test_controller.rb").split("\n").first
+ `rm -f app/test_controller.rb`
end
# test simple and rm
def test_generator_route1
s1 = File.read("routes.rb")