mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
[Internal] Add route for widget testing (#199)
This commit is contained in:
12
spec/controllers/widget_tests_controller_spec.rb
Normal file
12
spec/controllers/widget_tests_controller_spec.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe WidgetTestsController, type: :controller do
|
||||
let(:channel_widget) { create(:channel_widget) }
|
||||
|
||||
describe '#index' do
|
||||
it 'renders the page correctly' do
|
||||
get :index
|
||||
expect(response.status).to eq 200
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user