Sha256: e96c7d2d28a57e4e115f99613e23a274b43a971d04c78163c2a713447062f238
Contents?: true
Size: 516 Bytes
Versions: 7
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true require "spec_helper" RSpec.describe <%= File.join(*[namespaced_path, file_path].compact).classify %>::Component, type: :component do it "renders the overview preview" do render_preview(:overview) end # it "renders something useful" do # render_inline(described_class.new(<%= attributes.map { |attr| "#{attr.name}: #{attr.name.to_s.inspect}" }.join(", ") %>)) # # expect(page).to have_text "Hello, components!" # expect(page).to have_css '.value' # end end
Version data entries
7 entries across 7 versions & 1 rubygems