We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1a80fc commit e9a447eCopy full SHA for e9a447e
1 file changed
test/unit/providerSpec.js
@@ -160,4 +160,12 @@ describe('provider', function() {
160
expect(successSpy2).not.toHaveBeenCalled();
161
expect(errorSpy2).toHaveBeenCalled();
162
}));
163
+
164
+ it('set/get validMethod', inject(function() {
165
+ expect(validationProvider.getValidMethod()).toEqual(null);
166
167
+ validationProvider.setValidMethod('submit');
168
169
+ expect(validationProvider.getValidMethod()).toEqual('submit');
170
+ }));
171
});
0 commit comments