Commit da0b28a

mo khan <mo@mokhan.ca>
2013-05-16 03:39:22
add <leader>t binding to run tests
1 parent 91b23f8
Changed files (2)
.vimrc
@@ -0,0 +1,1 @@
+map <leader>t :!rake spec<cr>
Rakefile
@@ -10,6 +10,6 @@ task :build => :clean do
   system "xcodebuild -workspace MovieLibrary.xcworkspace/ -sdk iphonesimulator -configuration Debug -scheme Pods-MovieLibraryTests build 2>&1"
 end
 
-task :test => :build do
+task :spec => :build do
   system "xctool -workspace MovieLibrary.xcworkspace -scheme MovieLibrary test TEST_AFTER_BUILD=YES TEST_HOST=''"
 end