def build_context(logical_path = 'application.js', options = {})
      pathname = options[:pathname] || Pathname.new('assets').join(logical_path).expand_path
      env      = options[:env] || machined.assets

      env.context_class.new env, logical_path, pathname
    end
def build_context(logical_path = 'application.js', options = {})
      pathname = options[:pathname] || Pathname.new('assets').join(logical_path).expand_path
      env      = options[:env] || machined.assets

      env.context_class.new env, logical_path, pathname
    end
Returns a fresh context, that can be used to test helpers.