Sha256: 47923e97e88d34a645ed11c1b246c4458ae223c513311afd9a569a0bdfa23fba

Contents?: true

Size: 499 Bytes

Versions: 33

Compression:

Stored size: 499 Bytes

Contents

require 'spec_helper_integration'
require 'generators/doorkeeper/migration_generator'

describe 'Doorkeeper::MigrationGenerator' do
  include GeneratorSpec::TestCase

  tests Doorkeeper::MigrationGenerator
  destination ::File.expand_path('../tmp/dummy', __FILE__)

  describe 'after running the generator' do
    before :each do
      prepare_destination
      run_generator
    end

    it 'creates a migration' do
      assert_migration 'db/migrate/create_doorkeeper_tables.rb'
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
doorkeeper-2.1.2 spec/generators/migration_generator_spec.rb
doorkeeper-2.1.1 spec/generators/migration_generator_spec.rb
doorkeeper-2.1.0 spec/generators/migration_generator_spec.rb
doorkeeper-2.0.1 spec/generators/migration_generator_spec.rb
doorkeeper-1.4.1 spec/generators/migration_generator_spec.rb
doorkeeper-2.0.0 spec/generators/migration_generator_spec.rb
doorkeeper-2.0.0.rc3 spec/generators/migration_generator_spec.rb
doorkeeper-2.0.0.rc2 spec/generators/migration_generator_spec.rb
doorkeeper-2.0.0.alpha1 spec/generators/migration_generator_spec.rb
doorkeeper-1.4.0 spec/generators/migration_generator_spec.rb
doorkeeper-1.3.1 spec/generators/migration_generator_spec.rb
doorkeeper-1.3.0 spec/generators/migration_generator_spec.rb
doorkeeper-1.2.0 spec/generators/migration_generator_spec.rb