dining_charges
This commit is contained in:
14
spec/views/dining_charges/index.html.erb_spec.rb
Normal file
14
spec/views/dining_charges/index.html.erb_spec.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe "dining_charges/index", type: :view do
|
||||
before(:each) do
|
||||
assign(:dining_charges, [
|
||||
DiningCharge.create!(),
|
||||
DiningCharge.create!()
|
||||
])
|
||||
end
|
||||
|
||||
it "renders a list of dining_charges" do
|
||||
render
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user