Sha256: f48200caa96c18cb2ea7d0f02ddcfe09fd372007bfe77df11008dcd82ce04693

Contents?: true

Size: 310 Bytes

Versions: 6

Compression:

Stored size: 310 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.paths << File.join(File.dirname(__FILE__), '..', 'fixtures', 'public')
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
engine-assets-0.4.0 spec/support/helpers/fixture_helper.rb
engine-assets-0.3.3 spec/support/helpers/fixture_helper.rb
engine-assets-0.3.2 spec/support/helpers/fixture_helper.rb
engine-assets-0.3.1 spec/support/helpers/fixture_helper.rb
engine-assets-0.3.0 spec/support/helpers/fixture_helper.rb
engine-assets-0.2.1 spec/support/helpers/fixture_helper.rb