You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by mf...@apache.org on 2013/08/15 16:11:53 UTC

svn commit: r1514282 - /rave/trunk/rave-portal-resources/src/test/javascript/core/rave_api.spec

Author: mfranklin
Date: Thu Aug 15 14:11:53 2013
New Revision: 1514282

URL: http://svn.apache.org/r1514282
Log:
Fixed unit test to represent code (RAVE-1039)

Modified:
    rave/trunk/rave-portal-resources/src/test/javascript/core/rave_api.spec

Modified: rave/trunk/rave-portal-resources/src/test/javascript/core/rave_api.spec
URL: http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/test/javascript/core/rave_api.spec?rev=1514282&r1=1514281&r2=1514282&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/test/javascript/core/rave_api.spec (original)
+++ rave/trunk/rave-portal-resources/src/test/javascript/core/rave_api.spec Thu Aug 15 14:11:53 2013
@@ -77,7 +77,7 @@ describe('rave_api', function(){
         describe('saveWidgetPreference', function () {
             it('makes the correct api call', function () {
 
-                api.rest.saveWidgetPreference({regionWidgetId: 1, userPref: {"prefName": "color", prefValue:"blue"},
+                api.rest.saveWidgetPreference({regionWidgetId: 1, "prefName": "color", prefValue:"blue",
                     successCallback: testScope.callback});
 
                 expectAjax(