Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Apr 15, 2020
1 parent adf1af4 commit 7622328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/classes/repo_community_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
let(:facts) { facts }
makecache = false
case os
when /(redhat-6|centos-6|amazon-2017|amazon-2018)-x86_64/
when /(redhat-6|centos-6|amazon-201\d)-x86_64/
baseurl = "https://packagecloud.io/sensu/community/el/6/$basearch"
when /(redhat-7|centos-7|amazon-2)-x86_64/
baseurl = "https://packagecloud.io/sensu/community/el/7/$basearch"
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/repo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
let(:facts) { facts }
makecache = false
case os
when /(redhat-6|centos-6|amazon-2017|amazon-2018)-x86_64/
when /(redhat-6|centos-6|amazon-201\d)-x86_64/
baseurl = "https://packagecloud.io/sensu/stable/el/6/$basearch"
when /(redhat-7|centos-7|amazon-2)-x86_64/
baseurl = "https://packagecloud.io/sensu/stable/el/7/$basearch"
Expand Down

0 comments on commit 7622328

Please sign in to comment.