0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-01-27 03:30:54 +00:00
ensl.org/spec/controllers/shoutmsgs_controller_spec.rb

12 lines
280 B
Ruby
Raw Normal View History

2020-03-08 22:07:12 +00:00
require 'rails_helper'
RSpec.describe ShoutmsgsController, type: :controller do
2020-03-22 12:22:10 +00:00
context 'GET #index' do
2020-03-08 22:07:12 +00:00
it "renders the index template" do
2020-03-22 12:22:10 +00:00
get :index
expect(response).to have_http_status(200)
expect(response).to render_template("index")
2020-03-08 22:07:12 +00:00
end
2020-03-22 12:22:10 +00:00
end
2019-10-17 23:51:40 +00:00
end