summaryrefslogtreecommitdiffstats
path: root/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/services/businesslayer/feedbusinesslayerSpec.coffee')
-rw-r--r--js/tests/services/businesslayer/feedbusinesslayerSpec.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee b/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee
index bcb4476cf..1ee9aaa3d 100644
--- a/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee
+++ b/js/tests/services/businesslayer/feedbusinesslayerSpec.coffee
@@ -230,17 +230,17 @@ describe 'FeedBusinessLayer', ->
expect =>
@FeedBusinessLayer.create('john')
- .toThrow(new @_ExistsError())
+ .toThrow(new @_ExistsError('Exists already'))
expect =>
@FeedBusinessLayer.create('johns')
- .not.toThrow(new @_ExistsError())
+ .not.toThrow(new @_ExistsError('Exists already'))
it 'should not create feeds that are empty', =>
expect =>
@FeedBusinessLayer.create(' ')
- .toThrow(new Error())
+ .toThrow(new Error('Url must not be empty'))
it 'should create a feed before theres a response from the server', =>