Sha256: ab37d3a5fd4958eb44951c37df25bad98f3cf4536c06d8cc21d0a2cbf17e87f2
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
require 'spec_helper' # Generators are not automatically loaded by Rails require 'generators/tinted_tags/migration/migration_generator' describe TintedTags::MigrationGenerator do # Tell the generator where to put its output (what it thinks of as Rails.root) destination File.expand_path("../../../../../tmp", __FILE__) before do prepare_destination Rails::Generators.options[:rails][:orm] = :active_record end describe 'no arguments' do before { run_generator } describe 'db/migrate/tinted_tags_migration.rb' do subject { file('db/migrate/tinted_tags_migration.rb') } it { should be_a_migration } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tinted_tags-0.0.2 | spec/generators/tinted_tags/migration/migration_generator_spec.rb |