forked from External/greenlight
Removed placeholder text for maintenance window (#1049)
Co-authored-by: Jesus Federico <jesus@123it.ca>
This commit is contained in:
parent
b23c1d11b3
commit
7fa7d2f525
|
@ -79,7 +79,7 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
if Rails.configuration.maintenance_window.present?
|
||||
unless cookies[:maintenance_window] == Rails.configuration.maintenance_window
|
||||
flash.now[:maintenance] = I18n.t("maintenance.window_alert", date: Rails.configuration.maintenance_window)
|
||||
flash.now[:maintenance] = Rails.configuration.maintenance_window
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -61,12 +61,4 @@ describe Room, type: :model do
|
|||
expect(@room.owned_by?(create(:user))).to be false
|
||||
end
|
||||
end
|
||||
|
||||
context "#notify_waiting" do
|
||||
it "should broadcast to waiting channel with started action" do
|
||||
expect do
|
||||
@room.notify_waiting
|
||||
end.to have_broadcasted_to("#{@room.uid}_waiting_channel").with(a_hash_including(action: "started"))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue