Sha256: 6d75f55ab67115f91a32cd1a8f7f1260dcd8236b2676f6c97fc55aecd824ef70
Contents?: true
Size: 455 Bytes
Versions: 9
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true require "rails_helper" module Archangel RSpec.describe "Role custom input for simple_form", type: :input do before { concat input_for(:foo, :select_field, as: :role) } it "applies class to field" do assert_select "select.role", count: 1 end it "has options" do assert_select "option", count: Archangel::ROLES.count assert_select "select[multiple=multiple]", count: 0 end end end
Version data entries
9 entries across 9 versions & 1 rubygems