Sha256: d777f8cd13ca8484a2a6f80b18ff94e5e929e1080c7b1dfd6d982392fec9ccef

Contents?: true

Size: 409 Bytes

Versions: 3

Compression:

Stored size: 409 Bytes

Contents

require 'bundler/setup'
Bundler.require

require 'xass'
require 'action_view/railtie'
require 'nokogiri'

ActionView::Helpers.include(Xass::ViewHelpers)

class View
  def initialize
    @action_view = ActionView::Base.new [File.expand_path('../problems', __FILE__)]
  end

  def render(path)
    @action_view.render(file: path)
  end
end

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xass-0.3.1 spec/spec_helper.rb
xass-0.3.0 spec/spec_helper.rb
xass-0.2.0 spec/spec_helper.rb