Sha256: fbf94ec2683bdfe4c68678d9bf688fba4663a18d8d76e7f2c965fec8d9e99b72
Contents?: true
Size: 476 Bytes
Versions: 19
Compression:
Stored size: 476 Bytes
Contents
require "rails_helper" require 'capybara/rspec' describe 'form_for helper' do class Feedback < LHS::Record endpoint '{+datastore}/v2/feedbacks' end before do 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
19 entries across 19 versions & 1 rubygems