decko-commons/decko

View on GitHub
mod/format/spec/set/all/css_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage
# -*- encoding : utf-8 -*-

describe Card::Set::All::Css 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