Browse files

reset test project before integration tests

  • Loading branch information...
rayh committed Jul 16, 2013
1 parent f1416a8 commit a6dc885f76063653d299eee2a4c761f58478f322
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
@@ -10,7 +10,7 @@ task :specs do
desc "Run integration tests"
-task :integration do
+task :integration => :reset do
system "rspec --color --format d --tag integration"
@@ -28,7 +28,7 @@ namespace :test_project do
task :reset do
puts "Reseting the TestProject Project File"
- system "git co -- spec/TestProject"
+ system "git checkout -- spec/TestProject"
puts "Removing any User schemes generated in the project"
system "rm -rf spec/TestProject/TestProject.xcodeproj/xcuserdata"
puts "Removing any installed files"

0 comments on commit a6dc885

Please sign in to comment.