Skip to content
This repository
Browse code

Fixed CORS tests

  • Loading branch information...
commit 428344b5a4c18ff577d7f4a8031321d94a777213 1 parent 375d896
Rob Hudson authored April 09, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  mkt/ratings/tests/test_resources.py
2  mkt/ratings/tests/test_resources.py
@@ -247,7 +247,7 @@ def setUp(self):
247 247
     def test_has_cors(self):
248 248
         res = self.client.get(self.flag_url)
249 249
         eq_(res['Access-Control-Allow-Origin'], '*')
250  
-        eq_(res['Access-Control-Allow-Methods'], 'GET, OPTIONS')
  250
+        eq_(res['Access-Control-Allow-Methods'], 'POST, OPTIONS')
251 251
 
252 252
     def test_flag(self):
253 253
         data = json.dumps({'flag': ReviewFlag.SPAM})

0 notes on commit 428344b

Please sign in to comment.
Something went wrong with that request. Please try again.