features/step_definitions/generator_steps.rb in middleman-1.2.8 vs features/step_definitions/generator_steps.rb in middleman-2.0.0.beta2

- old
+ new

@@ -17,10 +17,10 @@ end Then /^empty directories should exist at "([^\"]*)"$/ do |dirname| target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "fixtures", dirname) - %w(views/stylesheets public/stylesheets public/javascripts public/images).each do |d| + %w(source/stylesheets source/javascripts source/images).each do |d| File.exists?("#{target}/#{d}").should be_true end end Then /^cleanup at "([^\"]*)"$/ do |dirname| \ No newline at end of file