Sha256: 17f7239c12e1ea39e496521be25aef0f33b2f2c3a1e145a1bf654aa93f641a63
Contents?: true
Size: 510 Bytes
Versions: 3
Compression:
Stored size: 510 Bytes
Contents
require "spec_helper" describe TestGenerator, "using normal assert methods" do include GeneratorSpec::GeneratorExampleGroup destination File.expand_path("../../tmp", __FILE__) before(:all) do prepare_destination run_generator end it "creates a test initializer" do assert_file "config/initializers/test.rb", "# Initializer" end it "creates a migration" do assert_migration "db/migrate/create_tests.rb" end it "removes files" do assert_no_file ".gitignore" end end
Version data entries
3 entries across 3 versions & 1 rubygems