mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
add cucumber for integration testing and add a feature for statistics
refactor some stuff to support testing statistisc
This commit is contained in:
parent
058079a0a7
commit
43440eaf33
11 changed files with 286 additions and 5 deletions
8
script/cucumber
Normal file
8
script/cucumber
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env ruby
|
||||
begin
|
||||
load File.expand_path(File.dirname(__FILE__) + "/../vendor/plugins/cucumber/bin/cucumber")
|
||||
rescue LoadError => e
|
||||
raise unless e.to_s =~ /cucumber/
|
||||
require "rubygems"
|
||||
load File.join(Gem.bindir, "cucumber")
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue