migrate from turbolinks to turbo
This commit is contained in:
14
spec/views/rp_worlds/show.html.erb_spec.rb
Normal file
14
spec/views/rp_worlds/show.html.erb_spec.rb
Normal 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
|
||||
Reference in New Issue
Block a user