Sha256: 5c7b6510fa6af5a9298bdd01cc716d83db94b58761d3a3ff4674276a78316c80

Contents?: true

Size: 301 Bytes

Versions: 5

Compression:

Stored size: 301 Bytes

Contents

module Support
  module Helpers
    def load_view_fixtures(controller_class)
      controller_class.prepend_view_path(File.join(File.dirname(__FILE__), '..', 'fixtures', 'app', 'views'))
      EngineAssets::PublicLocator.register(File.join(File.dirname(__FILE__), '..', 'fixtures'))
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
engine-assets-0.6.0.pre1 spec/support/helpers/fixture_helper.rb
engine-assets-0.5.1 spec/support/helpers/fixture_helper.rb
engine-assets-0.5.0 spec/support/helpers/fixture_helper.rb
engine-assets-0.4.2 spec/support/helpers/fixture_helper.rb
engine-assets-0.4.1 spec/support/helpers/fixture_helper.rb