require 'rails_helper' RSpec.describe "org_members/edit", type: :view do before(:each) do @org_member = assign(:org_member, OrgMember.create!()) end it "renders the edit org_member form" do render assert_select "form[action=?][method=?]", org_member_path(@org_member), "post" do end end end