]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | describe("Ext.data.proxy.Client", function() {\r |
2 | var proxy;\r | |
3 | \r | |
4 | beforeEach(function() {\r | |
5 | proxy = new Ext.data.proxy.Client();\r | |
6 | });\r | |
7 | \r | |
8 | it("should extend Ext.data.proxy.Proxy", function() {\r | |
9 | expect(proxy.superclass).toEqual(Ext.data.proxy.Proxy.prototype);\r | |
10 | });\r | |
11 | \r | |
12 | it("should throw an error on clear", function() {\r | |
13 | expect(function() {proxy.clear();}).toRaiseExtError();\r | |
14 | });\r | |
15 | });\r |