test/generators/route_generator_test.rb in ember-appkit-rails-0.1.2 vs test/generators/route_generator_test.rb in ember-appkit-rails-0.2.0
- old
+ new
@@ -10,16 +10,8 @@
setup :prepare_destination
test "Assert files are properly created" do
run_generator %w(index)
- assert_file "#{ember_path}/routes/index.js.es6"
+ assert_file "#{app_path}/routes/index.js.es6"
end
-
- test "Assert files are properly created with custom path" do
- custom_path = ember_path("custom")
- run_generator [ "index", "-d", custom_path ]
-
- assert_file "#{custom_path}/routes/index.js.es6"
- end
end
-