Sha256: d881d531fe131ceb0bc4cbfc74d1c068e90f3b59dcdf37b38f66615acb5c4c7c

Contents?: true

Size: 673 Bytes

Versions: 6

Compression:

Stored size: 673 Bytes

Contents

# frozen_string_literal: true

def uploader_test_image
  Archangel::Engine.root + "lib/archangel/testing_support/fixtures/image.gif"
end

def uploader_test_favicon
  Archangel::Engine.root + "lib/archangel/testing_support/fixtures/favicon.png"
end

def uploader_test_stylesheet
  Archangel::Engine.root +
    "lib/archangel/testing_support/fixtures/stylesheet.css"
end

# Support files
%w[context support helpers matchers shared_contexts].each do |type|
  Dir["#{File.dirname(__FILE__)}/#{type}/**/*.rb"].each do |f|
    load File.expand_path(f)
  end
end

# Factories
Dir["#{File.dirname(__FILE__)}/factories/**/archangel_*.rb"].each do |f|
  load File.expand_path(f)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
archangel-0.0.7 lib/archangel/testing_support/support.rb
archangel-0.0.6 lib/archangel/testing_support/support.rb
archangel-0.0.5 lib/archangel/testing_support/support.rb
archangel-0.0.4 lib/archangel/testing_support/support.rb
archangel-0.0.3 lib/archangel/testing_support/support.rb
archangel-0.0.2 lib/archangel/testing_support/support.rb