     assert_raise Mix.Error, fn ->
       Mix.Tasks.Phoenix.Gen.Resource.run ["Admin.User", "name:string", "foo:string"]
     end
-  end  
+  end
 end

      end

      assert_file "web/templates/user/form.html.eex", fn file ->
        assert file =~ "<%= text_input f, :name %>"
        assert file =~ "<%= number_input f, :age %>"
        assert file =~ "<%= checkbox f, :famous %>"
        assert file =~ "<%= datetime_select f, :born_at %>"
        assert file =~ "<%= text_input f, :secret %>"
        refute file =~ ":nicks"
      end



      assert_file migration, fn file ->
        assert file =~ "defmodule Phoenix.Repo.Migrations.CreateAdmin.User do"
        assert file =~ "create table(:users) do"
      end

      assert_file "web/controllers/admin/user_controller.ex", fn file ->
