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