We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd2675e commit 2703b10Copy full SHA for 2703b10
app/assets/images/labels/tallinn_rug/sponsors/rubycentral.png
13.1 KB
config/whitelabel.yml
@@ -569,3 +569,4 @@
569
sponsors:
570
- :name: RubyCentral
571
:url: https://rubycentral.org/
572
+ :banner: rubycentral.png
spec/lib/sponsor_images_present_spec.rb
@@ -0,0 +1,13 @@
1
+require 'spec_helper'
2
+
3
+describe 'Sponsors' do
4
+ Whitelabel.labels.each do |label|
5
+ describe "for '#{label.label_id}'" do
6
+ label.sponsors&.each do |sponsor|
7
+ specify sponsor[:banner] do
8
+ expect(Rails.root.join('app/assets/images/labels').join(label.label_id).join('sponsors').join(sponsor[:banner])).to be_exist
9
+ end
10
11
12
13
+end
0 commit comments