Sha256: 4ca5945269f9b7fccafd7439c990792a39bddec818ded059bd3ee3d76da3a027
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_watchable/make_watchable_generator' describe MakeWatchableGenerator do include GeneratorSpec::TestCase destination File.expand_path("/tmp", __FILE__) tests MakeWatchableGenerator before do prepare_destination run_generator end specify do destination_root.should have_structure { directory "db" do directory "migrate" do migration "create_make_watchable_tables" do contains "class CreateMakeWatchableTables" contains "create_table :watchings" end end end } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
make_watchable-0.0.3 | spec/generators/make_watchable_generator_spec.rb |
make_watchable-0.0.2 | spec/generators/make_watchable_generator_spec.rb |