Sha256: 7eb4e68edc18581cf08d376cf1eacc3b36915b26bf8869d546acb9b43d715fa2

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper'

if GenSpec.rails?
  describe :my_migration do
    it "should run migration template" do
      # bug, raising NameError: undefined local variable or method `interceptor'
      expect(proc { expect(subject).to generate(:migration_template, "1", "2")
      }).not_to raise_error
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
genspec-0.3.2 spec/generators/migration_spec.rb
genspec-0.3.1 spec/generators/migration_spec.rb