Sha256: 111d962832349d78c0af2b08931c076cd175e0cf6358f237607f8bb983786812

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

### FOR RAILS TESTS

require 'test_helper'

class ApplicationTest < ActionDispatch::IntegrationTest

  def test_xlsx
    get '/spreadsheets/test.xlsx'
    assert_response :success

    path = File.expand_path("../../../tmp/axlsx_rails.xlsx", __FILE__)

    File.open(path, 'w+b') do |f|
      f.write @response.body
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
axlsx_styler-1.2.0 test/integration/application_test.rb
axlsx_styler-1.1.0 test/integration/application_test.rb
axlsx_styler-1.0.0 test/integration/application_test.rb