Sha256: 234334b41c2027bd187d77d9faf5b01b98f0dff5f911230302f03a7e5095e7f5
Contents?: true
Size: 617 Bytes
Versions: 6
Compression:
Stored size: 617 Bytes
Contents
require_relative '../../spec_helper' describe Tabulous::CssScaffolding do describe "embeddable styles" do let(:embeddable_styles) { Tabulous::CssScaffolding.embeddable_styles } it "should be a string" do embeddable_styles.should be_a(String) end it "should be embeddable in HTML" do expect(embeddable_styles).to match(/^\s*<style type="text\/css">/) expect(embeddable_styles).to match(/<\/style>\s*$/) end it "should have tab-related CSS" do expect(embeddable_styles).to match(/.tabs ul/) expect(embeddable_styles).to match(/.subtabs ul/) end end end
Version data entries
6 entries across 6 versions & 1 rubygems