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,14 @@
require 'rails_helper'
RSpec.describe "rp_worlds/show", type: :view do
before(:each) do
@rp_world = assign(:rp_world, RpWorld.create!(
name: "Name"
))
end
it "renders attributes in <p>" do
render
expect(rendered).to match(/Name/)
end
end