Skip to content
Browse files

really fix CI

  • Loading branch information...
1 parent 444a042 commit a42d680f14fa677a0bff909ffe9b15e62e41dc0f @jacobo jacobo committed May 11, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 spec/users_spec.rb
View
8 spec/users_spec.rb
@@ -51,8 +51,14 @@ def self.service_account_creation_params(account_id)
describe "users" do
describe "with a service account" do
before do
- UserHavingService.record_of_users.clear
+ @service_provider_actor = @tresfiestas.actors[:service_provider]
@tresfiestas.actors[:service_provider] = UserHavingService.new
+ end
+ after do
+ @tresfiestas.actors[:service_provider] = @service_provider_actor
+ end
+ before do
+ UserHavingService.record_of_users.clear
@service_account = @tresfiestas.service_account
@messages_url = @service_account[:messages_url]
@connection = EY::ServicesAPI.connection

0 comments on commit a42d680

Please sign in to comment.
Something went wrong with that request. Please try again.