Sha256: b48d7d66ebedacac79674b607d9a3125621e2565dac85c8ac223c5022c0a7532

Contents?: true

Size: 397 Bytes

Versions: 11

Compression:

Stored size: 397 Bytes

Contents

require "test_helper"
require "generators/push_type/field/field_generator"

module PushType
  describe FieldGenerator do
    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

11 entries across 11 versions & 1 rubygems

Version Path
push_type_core-0.5.1 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.5.0 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.5.0.alpha.5 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.5.0.alpha.4 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.5.0.alpha.3 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.5.0.alpha.2 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.5.0.alpha.1 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.4.0 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.4.0.beta.3 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.3.3 test/lib/generators/push_type/field_generator_test.rb
push_type_core-0.3.1 test/lib/generators/push_type/field_generator_test.rb