Commit 4f5218304f40d6b16cee20af376f1b1f83576849

Authored by Daniela Feitosa
1 parent 21316947

shooping_cart_plugin: fixed tests

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