Skip to content

Commit

Permalink
Fix acceptance tests for Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jshholland authored and jhoblitt committed May 23, 2015
1 parent 8288b64 commit bc82b72
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion spec/acceptance/selenium_hub_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ class { 'selenium::hub': }
it { should be_file }
it { should be_owned_by 'selenium' }
it { should be_grouped_into 'selenium' }
it { should be_mode 644}
if fact('operatingsystem') == 'Ubuntu'
it { should be_mode 664 }
else
it { should be_mode 644 }
end
end
end

Expand Down
6 changes: 5 additions & 1 deletion spec/acceptance/selenium_node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ class { 'selenium::node': }
it { should be_file }
it { should be_owned_by 'selenium' }
it { should be_grouped_into 'selenium' }
it { should be_mode 644}
if fact('operatingsystem') == 'Ubuntu'
it { should be_mode 664 }
else
it { should be_mode 644 }
end
end
end

Expand Down
6 changes: 5 additions & 1 deletion spec/acceptance/selenium_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ class { 'selenium::server': }
it { should be_file }
it { should be_owned_by 'selenium' }
it { should be_grouped_into 'selenium' }
it { should be_mode 644}
if fact('operatingsystem') == 'Ubuntu'
it { should be_mode 664 }
else
it { should be_mode 644 }
end
end
end

Expand Down

0 comments on commit bc82b72

Please sign in to comment.