From 9134f5ce5a402bb76ba9bc5627ade282552898fe Mon Sep 17 00:00:00 2001
From: Igor Minar
Date: Mon, 12 Mar 2012 09:39:21 -0700
Subject: style(ng-include): remove unused args
---
test/directive/ngIncludeSpec.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'test')
diff --git a/test/directive/ngIncludeSpec.js b/test/directive/ngIncludeSpec.js
index f5beebdc..ab63dd02 100644
--- a/test/directive/ngIncludeSpec.js
+++ b/test/directive/ngIncludeSpec.js
@@ -17,7 +17,7 @@ describe('ng-include', function() {
it('should include on external file', inject(putIntoCache('myUrl', '{{name}}'),
- function($rootScope, $compile, $browser) {
+ function($rootScope, $compile) {
element = jqLite('');
jqLite(document.body).append(element);
element = $compile(element)($rootScope);
@@ -63,7 +63,7 @@ describe('ng-include', function() {
it('should allow this for scope', inject(putIntoCache('myUrl', '{{"abc"}}'),
- function($rootScope, $compile, $browser) {
+ function($rootScope, $compile) {
element = jqLite('');
element = $compile(element)($rootScope);
$rootScope.url = 'myUrl';
@@ -97,7 +97,7 @@ describe('ng-include', function() {
it('should evaluate onload expression when a partial is loaded', inject(
putIntoCache('myUrl', 'my partial'),
- function($rootScope, $compile, $browser) {
+ function($rootScope, $compile) {
element = jqLite('');
element = $compile(element)($rootScope);
@@ -112,7 +112,7 @@ describe('ng-include', function() {
it('should destroy old scope', inject(putIntoCache('myUrl', 'my partial'),
- function($rootScope, $compile, $browser) {
+ function($rootScope, $compile) {
element = jqLite('');
element = $compile(element)($rootScope);
@@ -129,7 +129,7 @@ describe('ng-include', function() {
it('should do xhr request and cache it',
- inject(function($rootScope, $httpBackend, $compile, $browser) {
+ inject(function($rootScope, $httpBackend, $compile) {
element = $compile('')($rootScope);
$httpBackend.expect('GET', 'myUrl').respond('my partial');
@@ -164,7 +164,7 @@ describe('ng-include', function() {
it('should be async even if served from cache', inject(
putIntoCache('myUrl', 'my partial'),
- function($rootScope, $compile, $browser) {
+ function($rootScope, $compile) {
element = $compile('')($rootScope);
$rootScope.url = 'myUrl';
--
cgit v1.2.3