Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Commit

Permalink
Test creating a migration
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcsmith committed May 12, 2018
1 parent 755819d commit d0c4ae2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/gen/migration_spec.cr
Expand Up @@ -5,7 +5,10 @@ include CleanupHelper
describe Gen::Migration do
it "generates a migration with custom name" do
with_cleanup do
ARGV.push("Should Ignore This Name")

Gen::Migration.new.call("Custom")

should_generate_migration named: "custom.cr"
end
end
Expand Down

0 comments on commit d0c4ae2

Please sign in to comment.