summaryrefslogtreecommitdiff
path: root/test/app_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/app_test.rb')
-rw-r--r--test/app_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/app_test.rb b/test/app_test.rb
index 8b1be19..0546814 100644
--- a/test/app_test.rb
+++ b/test/app_test.rb
@@ -1,5 +1,6 @@
require 'test_helper'
require File.expand_path('../../lib/dashing', __FILE__)
+Sinatra::Application.settings.history_file = File.join(Dir.tmpdir, 'history.yml')
class AppTest < Dashing::Test
def setup
@@ -141,4 +142,4 @@ class AppTest < Dashing::Test
def parse_data(string)
JSON.parse string[/data: (.+)/, 1]
end
-end \ No newline at end of file
+end