Sha256: c704f3f83608e75c1afd732b6e1a2bdf16e5db4fe3c6de843fff08df70b5e5f6
Contents?: true
Size: 425 Bytes
Versions: 37
Compression:
Stored size: 425 Bytes
Contents
require 'test_helper' require "generators/push_type/field/field_generator" module PushType class FieldGeneratorTest < Rails::Generators::TestCase tests FieldGenerator destination Rails.root.join('tmp/generators') before :all do prepare_destination run_generator ['rich_text'] end it { assert_file 'app/fields/rich_text_field.rb', %r{class RichTextField < PushType::FieldType} } end end
Version data entries
37 entries across 37 versions & 1 rubygems