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