Sha256: ba28d5d4c49266395386f1e5f99efe674bdade0e5d9c04589b8429a166667ce3
Contents?: true
Size: 413 Bytes
Versions: 9
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true require "rails_helper" module Archangel RSpec.describe "Language custom input for simple_form", type: :input do before { concat input_for(:foo, :select_field, as: :language) } it "applies class to field" do assert_select "select.language", count: 1 end it "has options" do assert_select "option", count: Archangel::LANGUAGES.count end end end
Version data entries
9 entries across 9 versions & 1 rubygems