This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed CORS tests

  • Loading branch information...
robhudson committed Apr 10, 2013
1 parent 375d896 commit 428344b5a4c18ff577d7f4a8031321d94a777213
Showing with 1 addition and 1 deletion.
  1. +1 −1 mkt/ratings/tests/test_resources.py
@@ -247,7 +247,7 @@ def setUp(self):
def test_has_cors(self):
res = self.client.get(self.flag_url)
eq_(res['Access-Control-Allow-Origin'], '*')
- eq_(res['Access-Control-Allow-Methods'], 'GET, OPTIONS')
+ eq_(res['Access-Control-Allow-Methods'], 'POST, OPTIONS')
def test_flag(self):
data = json.dumps({'flag': ReviewFlag.SPAM})

0 comments on commit 428344b

Please sign in to comment.