Sha256: deb456f69114bcee4a21c278b9352dd56aa51092ece5ea9c5d043236c03d5cae

Contents?: true

Size: 319 Bytes

Versions: 53

Compression:

Stored size: 319 Bytes

Contents

# -*- encoding : utf-8 -*-

describe Card::Set::All::AllCss do
  it "renders content view" do
    content = "#box { display: block }"
    rendered = render_card :content, { content: content }, format: :css
    #    rendered.should =~ /Style Card\:/
    expect(rendered).to match(/#{ Regexp.escape content }/)
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
card-1.100.0 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.99.6 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.99.5 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.99.4 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.99.3 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.99.2 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.99.1 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.99.0 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.98.3 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.98.2 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.98.1 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.98.0 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.97.0.1 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.97.0 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.96.8 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.96.7 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.96.6 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.96.5 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.96.4 mod/basic_formats/spec/set/all/all_css_spec.rb
card-1.96.3 mod/basic_formats/spec/set/all/all_css_spec.rb