Fixes #96 #109

a quick stab at porting over rails migration generators.

still need to port over the specs.
You can also write "pending 'because whatever'" in the spec
On Aug 18, 2014 6:42 AM, "Trey Springer" <notifications@github.com> wrote:

> In spec/generators/migration_generator_spec.rb:
>
> > @@ -16,11 +16,11 @@
> >    end
> >
> >    it 'creates a camelized migration class' do
> > -    allow_any_instance_of(described_class).to receive(:migration_filename).and_return('foo')
> > -    Napa::CLI::Base.new.generate("migration", migration_name)
> > -    expected_migration_file = File.join(test_migrations_directory, 'foo.rb')
> > -    migration_code = File.read(expected_migration_file)
> > -    expect(migration_code).to match(/class FooBars/)
> > +    # allow_any_instance_of(described_class).to receive(:migration_filename).and_return('foo')
>
> This is also a good time to use things like xit 'creates a camelized
> migration class' do which does the same as commenting out all of the spec
> lines (and is easier to undo.)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/bellycard/napa/pull/129/files#r16350444>.
>