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

rename script resource to powershell resource #553

Merged
merged 2 commits into from
Mar 18, 2016
Merged

rename script resource to powershell resource #553

merged 2 commits into from
Mar 18, 2016

Conversation

chris-rock
Copy link
Contributor

script = <<-EOH
# you powershell script
EOH

# old syntax is using `script` resource
describe script(script) do
  its('stdout') { should eq 'output' }
end

# new syntax is using `powershell` resource
describe powershell(script) do
  its('stdout') { should eq 'output' }
end

@chris-rock chris-rock added the Type: Enhancement Improves an existing feature label Mar 18, 2016
@arlimus
Copy link
Contributor

arlimus commented Mar 18, 2016

Much clearer and less confusing, fantastic improvement!
Let's get script deprecated for 1.0 🎉

arlimus added a commit that referenced this pull request Mar 18, 2016
rename `script` resource to `powershell` resource
@arlimus arlimus merged commit 5758f30 into master Mar 18, 2016
@arlimus arlimus deleted the powershell branch March 18, 2016 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants