Sha256: 2e410bb4231e0bbbc7a4043d08ba9853172f7cc1e90bc15d5850feb6a346e12f

Contents?: true

Size: 499 Bytes

Versions: 20

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

20 entries across 20 versions & 1 rubygems

Version Path
doorkeeper-1.1.0 spec/generators/migration_generator_spec.rb
doorkeeper-1.0.0 spec/generators/migration_generator_spec.rb
doorkeeper-1.0.0.rc2 spec/generators/migration_generator_spec.rb
doorkeeper-1.0.0.rc1 spec/generators/migration_generator_spec.rb
doorkeeper-0.7.4 spec/generators/migration_generator_spec.rb
doorkeeper-0.7.3 spec/generators/migration_generator_spec.rb
doorkeeper-0.7.2 spec/generators/migration_generator_spec.rb
doorkeeper-0.7.1 spec/generators/migration_generator_spec.rb
doorkeeper-0.7.0 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.7 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.6 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.5 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.4 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.3 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.2 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.1 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.0 spec/generators/migration_generator_spec.rb
doorkeeper-0.6.0.rc1 spec/generators/migration_generator_spec.rb
doorkeeper-0.5.0 spec/generators/migration_generator_spec.rb
doorkeeper-0.5.0.rc1 spec/generators/migration_generator_spec.rb