Sha256: 2b1eacc112fd1e67d85b3e0caa7df977fee9b099a5f2f021130572037a0bdfeb
Contents?: true
Size: 512 Bytes
Versions: 12
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' require 'capybara/rspec' describe 'form_for helper' do before do class Feedback < DHS::Record endpoint '{+datastore}/v2/feedbacks' end assign(:instance, Feedback.new) end it 'supported by DHS' do render template: 'form_for.html' expect(rendered).to have_selector('form') expect(rendered).to have_selector('input[name="feedback[name]"]') expect(rendered).to have_selector('textarea[name="feedback[text]"]') end end
Version data entries
12 entries across 12 versions & 1 rubygems