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

ChefSpec Summary Output Not Displaying Verbs #873

Open
adamscharf opened this issue Sep 15, 2017 · 0 comments
Open

ChefSpec Summary Output Not Displaying Verbs #873

adamscharf opened this issue Sep 15, 2017 · 0 comments

Comments

@adamscharf
Copy link

Description

After running chefspec, the summary output for tests are no longer displaying the verbs. Is this a recent change to the coding standard and I need to update my tests or a bug with ChefSpec?

e.g.,

Tests

expect(chef_run).to create_directory('/opt/my-folder').with(
  owner: 'root',
  group: 'root',
  mode: '0755',
  )
end

it do
  expect(chef_run).to install_package('unzip')
end

Expected Output

  should create directory "/opt/my-folder"
  should install package "unzip"

Actual Output

  should  directory "/opt/my-folder"
  should  package "unzip"

Chef Version

▶ chef --version
Chef Development Kit Version: 2.1.11
chef-client version: 13.2.20
delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
berks version: 6.3.0
kitchen version: 1.17.0
inspec version: 1.33.1

Platform Version

macOS Sierra - Version 10.12.6 (16G29)

Replication Case

Write any test and omit the manual description. The assumed description doesn't include the verbs.

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

1 participant