Sha256: aba585bd117fd94f9d12fbfc4da17b2d2b838c17d919e32887f7d054dff07adb

Contents?: true

Size: 718 Bytes

Versions: 7

Compression:

Stored size: 718 Bytes

Contents

invoke 'hobo:front_controller', %w[ -q ]
desc "All files exist"
files_exist? %w[ app/controllers/front_controller.rb
                 app/helpers/front_helper.rb
                 app/views/front/index.dryml ]
test_value_eql? true

desc "public/index.html removed"
File.exists? 'public/index.html'
test_value_eql? false


desc "front_controller.rb content matches"
file_include? 'app/controllers/front_controller.rb',
              'hobo_controller',
              'def index',
              'def search'
test_value_eql? true


desc "Routes added"
file_include? 'config/routes.rb',
              %(match 'search' => 'front#search', :as => 'site_search'),
              %(root :to => 'front#index')
test_value_eql? true

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hobo-1.4.0.pre8 test/irt/generators/front_controller.irt
hobo-1.4.0.pre7 test/irt/generators/front_controller.irt
hobo-1.4.0.pre6 test/irt/generators/front_controller.irt
hobo-1.4.0.pre5 test/irt/generators/front_controller.irt
hobo-1.4.0.pre4 test/irt/generators/front_controller.irt
hobo-1.4.0.pre3 test/irt/generators/front_controller.irt
hobo-1.4.0.pre2 test/irt/generators/front_controller.irt