Sha256: b856394c242774b3de4cd879f0821caaaa90f6ba3501e283a86f6b61e11c8ca7
Contents?: true
Size: 683 Bytes
Versions: 7
Compression:
Stored size: 683 Bytes
Contents
require 'spec_helper' require 'generator_spec/test_case' require 'generators/refinery/pages/pages_generator' module Refinery describe PagesGenerator 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 "pages.rb" do contains "Refinery::Pages.configure" end end end end } end end end
Version data entries
7 entries across 7 versions & 1 rubygems