Skip to content

Commit

Permalink
Clear users properly
Browse files Browse the repository at this point in the history
  • Loading branch information
hzalaz committed Jun 1, 2015
1 parent 4f0785d commit 84f5da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper_full.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def entity_suffix
.each { |client| v2_client.delete_client(client["client_id"]) }
v2_client
.users
.select { |user| user["email"].split("@").first.end_with? entity_suffix }
.select { |user| user["email"].split("@").first.include? entity_suffix }
.each { |user| v2_client.delete_user(user["user_id"])}
end
end

0 comments on commit 84f5da4

Please sign in to comment.