spec/install_spec.rb in lobot-0.9.6 vs spec/install_spec.rb in lobot-0.9.7

- old
+ new

@@ -20,12 +20,11 @@ it "creates a ci_build.sh file" do assert_file "script/ci_build.sh" end - it "appends ci task to Rakefile" do - rakefile_contents = File.read("#{destination_root}/lib/tasks/ci.rake") - rakefile_contents.should include("task :build") + it "makes ci_build.sh executable" do + system("test -x #{destination_root}/script/ci_build.sh").should == true end context "Capfile exists" do it "appends a load path to the Capfile" do prepare_destination