Sha256: b68df664bbffd54ee5f07ec0863d579f7053c8203d920a95ffa4a6832626795a
Contents?: true
Size: 703 Bytes
Versions: 7
Compression:
Stored size: 703 Bytes
Contents
require 'spec_helper' require 'generator_spec/test_case' require 'generators/refinery/resources/resources_generator' module Refinery describe ResourcesGenerator do include GeneratorSpec::TestCase destination File.expand_path("../../../../tmp", __FILE__) before do prepare_destination run_generator %w[--skip-migrations] end specify do destination_root.should have_structure { directory "config" do directory "initializers" do directory "refinery" do file "resources.rb" do contains "Refinery::Resources.configure" end end end end } end end end
Version data entries
7 entries across 7 versions & 1 rubygems