Skip to content

Commit 50afade

Browse files
committed
Rename file (wrong extension order)
1 parent 9127bcb commit 50afade

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/app/spinner/spinner.component.spec.old.ts renamed to src/app/spinner/spinner.component.old.spec.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { HttpInterceptorService } from '../http-interceptor.service';
1717
import { Observable } from 'rxjs/Observable';
1818
import { PendingInterceptorService } from '../pending-interceptor.service';
1919

20-
describe('SpinnerComponent', () => {
20+
describe('__old__SpinnerComponent', () => {
2121
let component: SpinnerComponent;
2222
let fixture: ComponentFixture<SpinnerComponent>;
2323

@@ -45,11 +45,11 @@ describe('SpinnerComponent', () => {
4545
component = fixture.componentInstance;
4646
});
4747

48-
it('should create the spinner component', () => {
48+
it('__old__should create the spinner component', () => {
4949
expect(component).toBeTruthy();
5050
});
5151

52-
it('should create the spinner component with default values', () => {
52+
it('__old__should create the spinner component with default values', () => {
5353
component.isSpinnerVisible = true;
5454
fixture.detectChanges();
5555

@@ -61,7 +61,7 @@ describe('SpinnerComponent', () => {
6161
expect(element.className).toBe('sk-cube-grid colored');
6262
});
6363

64-
it('should not set the colored class if background-color is defined', () => {
64+
it('__old__should not set the colored class if background-color is defined', () => {
6565
component.isSpinnerVisible = true;
6666
component.backgroundColor = '#ff0000';
6767
fixture.detectChanges();
@@ -74,15 +74,15 @@ describe('SpinnerComponent', () => {
7474
expect(element.className).toBe('sk-cube-grid');
7575
});
7676

77-
it('should not display anything by default', () => {
77+
it('__old__should not display anything by default', () => {
7878
const element = fixture
7979
.debugElement
8080
.query(By.css('#http-loader'));
8181

8282
expect(element).toBeNull();
8383
});
8484

85-
it('should be able to specify another known spinner', () => {
85+
it('__old__should be able to specify another known spinner', () => {
8686
component.isSpinnerVisible = true;
8787
component.spinner = Spinkit.skRotatingPlane;
8888
fixture.detectChanges();
@@ -95,7 +95,7 @@ describe('SpinnerComponent', () => {
9595
expect(element.className).toBe('sk-rotating-plane colored-parent');
9696
});
9797

98-
it('should allow us to specify a custom background-color', () => {
98+
it('__old__should allow us to specify a custom background-color', () => {
9999
component.isSpinnerVisible = true;
100100
component.backgroundColor = '#ff0000';
101101
fixture.detectChanges();
@@ -108,7 +108,7 @@ describe('SpinnerComponent', () => {
108108
expect(element.style['background-color']).toBe('rgb(255, 0, 0)');
109109
});
110110

111-
it('should show and hide the spinner according to the pending http requests',
111+
it('__old__should show and hide the spinner according to the pending http requests',
112112
inject([HttpInterceptorService, MockBackend], (service: HttpInterceptorService, backend: MockBackend) => {
113113

114114
const connections: MockConnection[] = [],
@@ -132,7 +132,7 @@ describe('SpinnerComponent', () => {
132132
})
133133
);
134134

135-
it('should hide and show a the spinner for a single http request',
135+
it('__old__should hide and show a the spinner for a single http request',
136136
inject([HttpInterceptorService, MockBackend], (service: HttpInterceptorService, backend: MockBackend) => {
137137
let connection: MockConnection;
138138
const responseMock = {key: 'value'},

0 commit comments

Comments
 (0)