diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-08-13 09:32:10 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-08-13 09:32:10 +0400 |
commit | 463644c8827a6015d9a3669e64ff04683d9f1c3d (patch) | |
tree | 35a531a04bcca7b350f02611b712644ab25af4fc /lib | |
parent | 28ddc152e932ae64f2a3a2247de8e0f45299da9c (diff) |
rspec to capybara-webkit. simplercov now use cucumber
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/dev/tests.rake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/tasks/dev/tests.rake b/lib/tasks/dev/tests.rake new file mode 100644 index 00000000000..f91320ebdd2 --- /dev/null +++ b/lib/tasks/dev/tests.rake @@ -0,0 +1,10 @@ +namespace :dev do + desc "DEV | Run cucumber and rspec" + task :tests do + ["cucumber", "rspec spec"].each do |cmd| + puts "Starting to run #{cmd}..." + system("bundle exec #{cmd}") + raise "#{cmd} failed!" unless $?.exitstatus == 0 + end + end +end |