spec/taza_tasks_spec.rb in scudco-taza-0.8.1 vs spec/taza_tasks_spec.rb in scudco-taza-0.8.3

- old
+ new

@@ -21,16 +21,18 @@ it "should create rake spec tasks for all sites" do Dir.stubs(:glob).with('./spec/functional/*/').returns(['./spec/functional/foo/']) Dir.stubs(:glob).with('./spec/functional/foo/*_spec.rb').returns([]) load @file_name + Taza::Rake::Tasks.new tasks.include?("spec:functional:foo").should be_true end it "should create rake spec tasks for all sites page specs" do Dir.expects(:glob).with('./spec/functional/*/').returns(['./spec/functional/foo/']) Dir.expects(:glob).with('./spec/functional/foo/*_spec.rb').returns(['./spec/functional/foo/page_spec.rb']) load @file_name + Taza::Rake::Tasks.new tasks.include?("spec:functional:foo:page").should be_true end def tasks