Sha256: 12937cc685c8a0179e90ebace9365bf86d84342a347270ef270d23370bd3f62d

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

require "test_helper"
require "generators/mint_report/mint_report_generator"

class MintReportGeneratorTest < Rails::Generators::TestCase
  tests MintReportGenerator

  destination File.expand_path("../tmp", File.dirname(__FILE__))
  setup :prepare_destination

  test "generate Report" do
    run_generator %w(foo_report)
    assert_file 'app/models/reports/foo_report.rb'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mint_reporter-0.0.7 test/generators/mint_report_generator_test.rb