migrate from turbolinks to turbo

This commit is contained in:
2021-06-21 20:54:17 +02:00
parent 62464846a3
commit 87c1c67b5c
19 changed files with 367 additions and 40 deletions

View File

@@ -0,0 +1,18 @@
require 'rails_helper'
RSpec.describe "rp_worlds/edit", type: :view do
before(:each) do
@rp_world = assign(:rp_world, RpWorld.create!(
name: "MyString"
))
end
it "renders the edit rp_world form" do
render
assert_select "form[action=?][method=?]", rp_world_path(@rp_world), "post" do
assert_select "input[name=?]", "rp_world[name]"
end
end
end