adds spec for components view