Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

work in progress 2:9:20

  • Loading branch information...
commit af679bca42079e630c91b3453f239d38f9da290f 1 parent ee53d12
Max Makarochkin mac-r authored
Showing with 11 additions and 4 deletions.
  1. +9 −2 Rakefile
  2. +2 −2 spec/ajaila/console_helper_spec.rb
11 Rakefile
View
@@ -1,7 +1,14 @@
#!/usr/bin/env rake
-
task :default => [:test]
task :test do
sh("bundle exec rspec spec/")
-end
+end
+
+desc "commit and push"
+task :cp do
+ system "git add ."
+ system "git commit -m \"work in progress #{Time.now.hour}:#{Time.now.min}:#{Time.now.sec}\""
+ system "git push origin master"
+end
+
4 spec/ajaila/console_helper_spec.rb
View
@@ -19,8 +19,8 @@
Ajaila::ConsoleHelper.check_inputs_g(args).should == 0
# ajaila g shit Foo
- # args = ["shit", "Foo"]
- # Ajaila::ConsoleHelper.check_inputs_g(args).should raise_error
+ args = ["shit", "Foo"]
+ lambda{Ajaila::ConsoleHelper.check_inputs_g(args)}.should raise_error
# ajaila g miner
# args = ["miner"]
Please sign in to comment.
Something went wrong with that request. Please try again.