Permalink
Browse files

Adds the ability to run the Mocha test server while developing on Kon…

…acha with the Rake task 'server'.
  • Loading branch information...
1 parent f3dfeb3 commit ed9850df923bfe7f620fd84c099afc9aa4f1b2b9 @billmag billmag committed Dec 7, 2012
Showing with 6 additions and 0 deletions.
  1. +4 −0 Rakefile
  2. +2 −0 config.ru
View
@@ -18,3 +18,7 @@ task :assets do
end
task :default => :spec
+
+task :server do
+ sh 'rackup -p 3500 config.ru'
+end
View
@@ -0,0 +1,2 @@
+require File.expand_path("../spec/dummy/config/environment.rb", __FILE__)
+run Konacha.application

0 comments on commit ed9850d

Please sign in to comment.