spec/javascripts/admins_routes_spec.js in rhoconnect-3.3.1.beta2 vs spec/javascripts/admins_routes_spec.js in rhoconnect-3.3.1.beta3
- old
+ new
@@ -108,15 +108,8 @@
this.router.bind('route:user_device', this.routeSpy);
this.router.navigate("device/1/2", true);
expect(this.routeSpy).toHaveBeenCalledOnce();
expect(this.routeSpy).toHaveBeenCalledWith("1","2");
});
-
- it("fires the change_admin route", function() {
- this.router.bind('route:change_admin', this.routeSpy);
- this.router.navigate("change_admin", true);
- expect(this.routeSpy).toHaveBeenCalledOnce();
- expect(this.routeSpy).toHaveBeenCalledWith();
- });
});