[DRE-commits] [ruby-aruba] 29/98: Fixed example

Hideki Yamane henrich at moszumanska.debian.org
Tue Mar 22 12:20:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository ruby-aruba.

commit ba2e8ec2d4ce61188f701f0c773a9991cb231b28
Author: Dennis Günnewig <dev at fedux.org>
Date:   Sat Jan 2 13:26:14 2016 +0100

    Fixed example
---
 features/matchers/file/be_existing_executable.feature | 1 +
 1 file changed, 1 insertion(+)

diff --git a/features/matchers/file/be_existing_executable.feature b/features/matchers/file/be_existing_executable.feature
index ebeb67b..a1f9776 100644
--- a/features/matchers/file/be_existing_executable.feature
+++ b/features/matchers/file/be_existing_executable.feature
@@ -9,6 +9,7 @@ Feature: Check if path exists and is an executable file
   RSpec.describe 'Check if file exists and is an executable file', :type => :aruba do
     let(:file) { 'file.txt' }
     before(:each) { touch(file) }
+    before(:each) { chmod(0755, file) }
 
     it { expect(file).to be_an_existing_executable }
   end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git



More information about the Pkg-ruby-extras-commits mailing list