summaryrefslogtreecommitdiff
path: root/spec/helpers/broadcast_messages_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/broadcast_messages_helper_spec.rb')
-rw-r--r--spec/helpers/broadcast_messages_helper_spec.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/helpers/broadcast_messages_helper_spec.rb b/spec/helpers/broadcast_messages_helper_spec.rb
deleted file mode 100644
index f6df12662bb..00000000000
--- a/spec/helpers/broadcast_messages_helper_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require 'spec_helper'
-
-describe BroadcastMessagesHelper do
- describe 'broadcast_styling' do
- let(:broadcast_message) { double(color: "", font: "") }
-
- context "default style" do
- it "should have no style" do
- expect(broadcast_styling(broadcast_message)).to match('')
- end
- end
-
- context "customiezd style" do
- before { broadcast_message.stub(color: "#f2dede", font: "#b94a48") }
-
- it "should have a customized style" do
- expect(broadcast_styling(broadcast_message)).
- to match('background-color:#f2dede;color:#b94a48')
- end
- end
- end
-end