Permalink
Browse files

changed relative path in specs

  • Loading branch information...
1 parent b0fdcf6 commit 59c4c711df371037a725e0522e494d0639cc27cb @dcrec1 committed Apr 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/models/project_spec.rb
@@ -158,7 +158,7 @@
context "on destroy" do
it "should execute rm -rf" do
- subject.should_receive(:execute).with("rm -rf /Users/ricardoalmeida/Documents/projects/gonow/signal/public/projects/")
+ subject.should_receive(:execute).with("rm -rf #{subject.send(:path)}")
subject.destroy
end
end

0 comments on commit 59c4c71

Please sign in to comment.