Sha256: 00587de411f33f36c2736e4ecdde9a5d31140ca82f1769b3c77b7a6adf25d70a

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 Bytes

Contents

require 'paperdragon'
require 'minitest/autorun'

MiniTest::Spec.class_eval do
  def exists?(uid)
    File.exists?("public/paperdragon/" + uid)
  end

  def generate_uid
    Dragonfly.app.datastore.send(:relative_path_for, "aptomo.png")
  end

  def self.it(name=nil, *args)
    name ||= Random.rand
    super
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
paperdragon-0.0.11 test/test_helper.rb
paperdragon-0.0.10 test/test_helper.rb
paperdragon-0.0.9 test/test_helper.rb
paperdragon-0.0.8 test/test_helper.rb
paperdragon-0.0.7 test/test_helper.rb
paperdragon-0.0.6 test/test_helper.rb