Sha256: 53f3f0423e210a9e3a399aad1ffd1a4bf557c6d07cffa90084bad4a00fb19cae
Contents?: true
Size: 1.14 KB
Versions: 21
Compression:
Stored size: 1.14 KB
Contents
# -*- encoding : utf-8 -*- describe Card::Set::Right::Style do # describe "#delet" # it "deletes tempfile" let(:css) { "#box { display: block }" } let(:compressed_css) { "#box{display:block}\n" } let(:changed_css) { "#box { display: inline }" } let(:compressed_changed_css) { "#box{display:inline}\n" } let(:new_css) { "#box{ display: none}\n" } let(:compressed_new_css) { "#box{display:none}\n" } it_behaves_like "pointer machine", that_produces: :css do let(:machine_card) do Card.gimme! "test my style+*style", type: :pointer, content: "" end let(:machine_input_card) do Card.gimme! "test css", type: :css, content: css end let(:another_machine_input_card) do Card.gimme! "more css", type: :css, content: new_css end let(:expected_input_items) { nil } let(:input_type) { :css } let(:card_content) do { in: css, out: compressed_css, changed_in: changed_css, changed_out: compressed_changed_css, new_in: new_css, new_out: compressed_new_css } end end end
Version data entries
21 entries across 21 versions & 1 rubygems