Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User resource should use Filtertable #948

Closed
chris-rock opened this issue Aug 22, 2016 · 0 comments
Closed

User resource should use Filtertable #948

chris-rock opened this issue Aug 22, 2016 · 0 comments
Assignees
Milestone

Comments

@chris-rock
Copy link
Contributor

chris-rock commented Aug 22, 2016

Description

The current user resource only allows simple requests on Windows:

describe user("Administrator") do
  it { should exist }
  its('uid') { should eq 'yoursid' }
end

Possible Solutions

The resource should support FilterTable as the passwd or port resource?

describe users.where {  username =~ /.*/} .where { uid =~ /^S-1-5-[0-9-]+-501$/ } do
  it { should exist? }
end
@chris-rock chris-rock added this to the 0.32.0 milestone Aug 22, 2016
@arlimus arlimus changed the title User resource should use Filtertable and improve Windows support windows: User resource should use Filtertable and improve Windows support Aug 22, 2016
@arlimus arlimus changed the title windows: User resource should use Filtertable and improve Windows support User resource should use Filtertable and improve Windows support Aug 22, 2016
@chris-rock chris-rock changed the title User resource should use Filtertable and improve Windows support User resource should use Filtertable Aug 23, 2016
@chris-rock chris-rock modified the milestones: 0.33.0, 0.32.0 Aug 26, 2016
@chris-rock chris-rock assigned chris-rock and unassigned ksubrama Sep 4, 2016
@chris-rock chris-rock modified the milestones: 0.34.0, 0.33.0 Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants