Sha256: a7b9f6ccd7b63f03370bd685cf988c427cf72e2a5a73ff5ce9f528511bbdda13
Contents?: true
Size: 1015 Bytes
Versions: 3
Compression:
Stored size: 1015 Bytes
Contents
# frozen_string_literal: true RSpec.describe "hanami db", type: :integration do it "prints subcommands" do with_project do output = <<~OUT Commands: hanami db apply # Migrate, dump the SQL schema, and delete the migrations (experimental) hanami db console # Starts a database console hanami db create # Create the database (only for development/test) hanami db drop # Drop the database (only for development/test) hanami db migrate [VERSION] # Migrate the database hanami db prepare # Drop, create, and migrate the database (only for development/test) hanami db rollback [STEPS] # Rollback migrations hanami db version # Print the current migrated version OUT run_cmd "hanami db", output, exit_status: 1 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hanami-2.0.0.beta2 | spec/integration/cli/db_spec.rb |
hanami-2.0.0.beta1.1 | spec/integration/cli/db_spec.rb |
hanami-2.0.0.beta1 | spec/integration/cli/db_spec.rb |