Sha256: fb535c8e17599671a0fa345fb9920543041cf68fa6109a711b55f570f1e8e877

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Path do

  it "should spawn!" do
    f = Path::Findr.new "fu"
    f.should be_instance_of Path::Findr
  end

  describe "Instantiated" do

    let (:f) { Path::Findr.new ".tipsy { padding: 5px;  background-image: url(../images/tipsy.gif); }" }

    it "should detect images" do
      f.images.should eql(["../images/tipsy.gif"])
    end

    it "should change css" do
      f.fixed.should eql ".tipsy { padding: 5px;  background-image: url(../images/tipsy.gif); }"
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
assetify-1.0.0 spec/assetify/path_spec.rb
assetify-1.0.0.rc1 spec/assetify/path_spec.rb