Sha256: bd624d4f8a2c4d319a1d995731c4ecd15238089dff1c826cd67eda5faa9fbc5d
Contents?: true
Size: 495 Bytes
Versions: 3
Compression:
Stored size: 495 Bytes
Contents
require 'test_helper' class MountainView::StyleguideHelperTest < ActionView::TestCase test "returns components sorted alphabetically" do components = mv_components breadcrumbs = components.find { |c| c.name == "breadcrumbs" } header = components.find { |c| c.name == "header" } yielder = components.find { |c| c.name == "yielder" } assert components.index(breadcrumbs) < components.index(header) assert components.index(header) < components.index(yielder) end end
Version data entries
3 entries across 3 versions & 1 rubygems