Sha256: 32a2f36b3405108e3db3645d2936eca142516d7db6c2fcab5c7ec266af00aa72

Contents?: true

Size: 501 Bytes

Versions: 6

Compression:

Stored size: 501 Bytes

Contents

require 'test_helper'

module DragonflyPhantomjs
  describe Plugin do

    let(:app) { test_app.configure_with(:phantomjs) }
    let(:html) { app.fetch_file(SAMPLES_DIR.join('sample.html')) }
    let(:svg) { app.fetch_file(SAMPLES_DIR.join('sample.svg')) }

    # ---------------------------------------------------------------------

    describe 'processors' do
      it 'adds #rasterize' do
        html.must_respond_to :rasterize
        svg.must_respond_to :rasterize
      end
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dragonfly_phantomjs-0.0.7 test/dragonfly_phantomjs/plugin_test.rb
dragonfly_phantomjs-0.0.6 test/dragonfly_phantomjs/plugin_test.rb
dragonfly_phantomjs-0.0.5 test/dragonfly_phantomjs/plugin_test.rb
dragonfly_phantomjs-0.0.4 test/dragonfly_phantomjs/plugin_test.rb
dragonfly_phantomjs-0.0.3 test/dragonfly_phantomjs/plugin_test.rb
dragonfly_phantomjs-0.0.1 test/dragonfly_phantomjs/plugin_test.rb