spec/freebsd/file_spec.rb in serverspec-0.15.2 vs spec/freebsd/file_spec.rb in serverspec-0.15.3

- old
+ new

@@ -97,10 +97,10 @@ it { should_not be_grouped_into 'invalid-group' } end describe file('/etc/pam.d/system-auth') do it { should be_linked_to '/etc/pam.d/system-auth-ac' } - its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- /etc/pam.d/system-auth-ac" } + its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/etc/pam.d/system-auth-ac'\"" } end describe file('dummy-link') do it { should_not be_linked_to '/invalid/target' } end