Commit 4f5218304f40d6b16cee20af376f1b1f83576849
1 parent
21316947
Exists in
master
and in
29 other branches
shooping_cart_plugin: fixed tests
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
plugins/shopping_cart/test/functional/shopping_cart_plugin_controller_test.rb
@@ -11,6 +11,7 @@ class ShoppingCartPluginControllerTest < ActionController::TestCase | @@ -11,6 +11,7 @@ class ShoppingCartPluginControllerTest < ActionController::TestCase | ||
11 | @request = ActionController::TestRequest.new | 11 | @request = ActionController::TestRequest.new |
12 | @response = ActionController::TestResponse.new | 12 | @response = ActionController::TestResponse.new |
13 | @profile = fast_create(Enterprise) | 13 | @profile = fast_create(Enterprise) |
14 | + @profile.contact_email = 'enterprise@noosfero.org';@profile.save | ||
14 | @product = fast_create(Product, :profile_id => @profile.id) | 15 | @product = fast_create(Product, :profile_id => @profile.id) |
15 | end | 16 | end |
16 | attr_reader :profile | 17 | attr_reader :profile |