gateway/spec/views/cms/pages/edit.html.tailwindcss_spec.rb

15 lines
306 B
Ruby
Raw Permalink Normal View History

2022-11-25 12:21:52 +01:00
require 'rails_helper'
RSpec.describe "cms/pages/edit", type: :view do
before(:each) do
@cms_page = assign(:cms_page, Cms::Page.create!())
end
it "renders the edit cms_page form" do
render
assert_select "form[action=?][method=?]", cms_page_path(@cms_page), "post" do
end
end
end