Sha256: 4f47fae03f68dc88b7f25ced1a7179fecdffe6e13d1e02ec3d8c6c6a9637503a
Contents?: true
Size: 679 Bytes
Versions: 2
Compression:
Stored size: 679 Bytes
Contents
require 'spec_helper' require 'action_controller' require 'generator_spec/test_case' require 'generators/make_flaggable/make_flaggable_generator' describe MakeFlaggableGenerator do include GeneratorSpec::TestCase destination File.expand_path("/tmp", __FILE__) tests MakeFlaggableGenerator before do prepare_destination run_generator end specify do destination_root.should have_structure { directory "db" do directory "migrate" do migration "create_make_flaggable_tables" do contains "class CreateMakeFlaggableTables" contains "create_table :flaggings" end end end } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
make_flaggable-0.0.3 | spec/generators/make_flaggable_generator_spec.rb |
make_flaggable-0.0.2 | spec/generators/make_flaggable_generator_spec.rb |