Sha256: c9ed7422e6bbb65e1fb31c2c1c424dc6f0f02e4582ad0fbf29a2ca14487628f5

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

require 'test_helper'
require 'rails/generators'
require 'generators/fabricators/model/model_generator'

class GeneratorsTest < Rails::Generators::TestCase
  tests Fabricators::Generators::ModelGenerator
  destination File.expand_path('../tmp', File.dirname(__FILE__))

  test 'file generation' do
    run_generator %w(person)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fabricators-0.1.2 test/generators_test.rb
fabricators-0.1.1 test/generators_test.rb