Sha256: 32de05f823ea837729998343171135d99b2c573bd09a28d24ec521a38946e49f
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
module Enginery module Test module DeleteHelper Spec.new self do Dir.chdir DST_ROOT do is(new_app 'App').ok? Dir.chdir 'App' do entries = [ 'base/helpers/foo' + Enginery::HELPER_SUFFIX ] Should 'be deleted alongside controller' do is(new_controller 'Foo').ok? entries.each do |e| does(File).exists? e end is(delete_controller 'Foo').ok? entries.each do |e| refute(File).exists? e end end Should 'be deleted manually' do is(new_controller 'Foo').ok? entries.each do |e| does(File).exists? e end is(delete_helper 'Foo').ok? entries.each do |e| refute(File).exists? e end end end end end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
my_enginery-0.2.8 | test/delete/test__helper.rb |
enginery-0.3.0 | test/delete/test__helper.rb |