Sha256: 8178a5b5184da7f982ef1563f2da99783a6d6f18f74dea7f3a31ddabb76eeaf7
Contents?: true
Size: 512 Bytes
Versions: 33
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 < LHS::Record endpoint '{+datastore}/v2/feedbacks' end assign(:instance, Feedback.new) end it 'supported by LHS' 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
33 entries across 33 versions & 1 rubygems