Commit 561a7924141da7480c828d01e6f5c0301ad1bf81

Authored by Antonio Terceiro
2 parents e6626f20 4f521830

Merge branch 'shopping_cart' of https://gitlab.com/danielafeitosa/noosfero

plugins/shopping_cart/test/functional/shopping_cart_plugin_controller_test.rb
... ... @@ -11,6 +11,7 @@ class ShoppingCartPluginControllerTest < ActionController::TestCase
11 11 @request = ActionController::TestRequest.new
12 12 @response = ActionController::TestResponse.new
13 13 @profile = fast_create(Enterprise)
  14 + @profile.contact_email = 'enterprise@noosfero.org';@profile.save
14 15 @product = fast_create(Product, :profile_id => @profile.id)
15 16 end
16 17 attr_reader :profile
... ...