summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-10-18 12:54:56 +0200
committergebele <gebele@in-silico.ch>2013-10-18 12:54:56 +0200
commitc0513db17077edbbb72141b4dee65468915bd21c (patch)
treeb61ae3e3e498555770bd13b6ed0c54543916635d
parent1502c396ff69df5a66bf6c6070ca46d73edbb4cf (diff)
fixed vague uri
-rw-r--r--test/store_query.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/store_query.rb b/test/store_query.rb
index 54cd02b..57dea14 100644
--- a/test/store_query.rb
+++ b/test/store_query.rb
@@ -48,7 +48,7 @@ class UploadTest < MiniTest::Test
50.times do |t|
threads << Thread.new(t) do |up|
#puts "Start Time >> " << (Time.now).to_s
- response = `curl -0 -i -k -u #{$four_store[:user]}:#{$four_store[:password]} -T '#{File.join File.dirname(__FILE__),"data/toxbank-investigation/valid/BII-I-1-test.nt"}' '#{$four_store[:uri]}/data/?graph=#{$four_store[:user]}/test#{t}.n3'`.chomp
+ response = `curl -0 -i -k -u #{$four_store[:user]}:#{$four_store[:password]} -T '#{File.join File.dirname(__FILE__),"data/toxbank-investigation/valid/BII-I-1-test.nt"}' '#{$four_store[:uri]}/data/?graph=#{$four_store[:user]}/test#{t}.nt'`.chomp
assert_match /201/, response
end
end
@@ -73,7 +73,7 @@ class UploadTest < MiniTest::Test
50.times do |t|
threads << Thread.new(t) do |up|
#puts "Start Time >> " << (Time.now).to_s
- response = `curl -i -k -u #{$four_store[:user]}:#{$four_store[:password]} -X DELETE '#{$four_store[:uri]}/data/#{$four_store[:user]}/test#{t}.n3'`.chomp
+ response = `curl -i -k -u #{$four_store[:user]}:#{$four_store[:password]} -X DELETE '#{$four_store[:uri]}/data/#{$four_store[:user]}/test#{t}.nt'`.chomp
assert_match /200/, response
end
end