Sha256: f3b4a7dc3a61078f2cca05ee5c33f7f8613edf82190947b905d5c5145212f92c
Contents?: true
Size: 477 Bytes
Versions: 15
Compression:
Stored size: 477 Bytes
Contents
require 'spec_helper' describe ActiveAdmin::Views::BlankSlate do setup_arbre_context! describe "#blank_slate" do subject { blank_slate("There are no Posts yet. <a href=\"/posts/new\">Create one</a></span>") } its(:tag_name) { should eql 'div' } its(:class_list) { should include('blank_slate_container') } its(:content) { should include '<span class="blank_slate">There are no Posts yet. <a href="/posts/new">Create one</a></span>' } end end
Version data entries
15 entries across 15 versions & 2 rubygems