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

Resource 'file' missing 'be_mounted.with' #310

Closed
larryebaum opened this issue Dec 10, 2015 · 0 comments · Fixed by #341
Closed

Resource 'file' missing 'be_mounted.with' #310

larryebaum opened this issue Dec 10, 2015 · 0 comments · Fixed by #341
Assignees
Labels
Type: Bug Feature not working as expected
Milestone

Comments

@larryebaum
Copy link
Contributor

Code:
describe file('/run') do
it { should be_mounted.with( :options => { :nodev => 'true' } ) }
end

Results in error:
Failure/Error: it { should be_mounted.with( :options => { :nodev => 'true' } ) }
NoMethodError:
undefined method `with' for #RSpec::Matchers::BuiltIn::BePredicate:0x007fa001d6e770

@chris-rock chris-rock added the Type: Bug Feature not working as expected label Dec 11, 2015
@chris-rock chris-rock added this to the 0.9.7 milestone Dec 11, 2015
@chris-rock chris-rock self-assigned this Dec 11, 2015
@arlimus arlimus modified the milestones: 0.9.8, 0.9.7 Dec 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants