Sha256: 6a2c930f17033dffc242b3de38df2b6e48c6db8e3e5ef81728af01d00f3beb67
Contents?: true
Size: 759 Bytes
Versions: 8
Compression:
Stored size: 759 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', %(post 'search' => 'front#search', :as => 'site_search_post'), %(get 'search' => 'front#search', :as => 'site_search'), %(root :to => 'front#index') test_value_eql? true
Version data entries
8 entries across 8 versions & 1 rubygems