Permalink
Browse files

mark test pending until uaa is fixed.

  • Loading branch information...
daleolds committed Feb 21, 2013
1 parent 001b7d2 commit c1830807f6f8b95792e797dd9ef5bd507c47446d
Showing with 2 additions and 1 deletion.
  1. +2 −1 spec/group_spec.rb
View
@@ -118,14 +118,15 @@ def check_members
end
it "reads members as a reader" do
+ pending "real uaa can't search for groups by name with scim.me/readers" unless @stub_uaa
Cli.run("token owner get #{@test_client} -s #{@test_secret} #{@test_user}r -p #{@test_pwd}").should be
Cli.run("group get #{@test_group} -a memBers").should be
ids = Cli.output.string.scan(/.*value:\s+([^\s]+)/).flatten
@users.size.should == ids.size
end
it "can't write members as a reader" do
- pending "real uaa can't search for groups by name by scim.me/readers" unless @stub_uaa
+ pending "real uaa can't search for groups by name with scim.me/readers" unless @stub_uaa
Cli.run("token owner get #{@test_client} -s #{@test_secret} #{@test_user}r -p #{@test_pwd}").should be
Cli.run("member add #{@test_group} #{@test_user}z").should_not be
Cli.output.string.should include "access_denied"

0 comments on commit c183080

Please sign in to comment.