goldshark_gem 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,25 +0,0 @@
1
- require 'helper'
2
- require 'minitest/autorun'
3
-
4
- class TestGoldsharkGem < MiniTest::Unit::TestCase
5
-
6
- def setup
7
- @gs = GS::Tool.new
8
- @gs.tool_guid('7c7a63f6-8bcb-4fee-bc9d-8a2f5e477887')
9
- @gs.locale('en')
10
-
11
- @gstxt = GS::Text.new
12
- @gstxt.tool_guid("7c7a63f6-8bcb-4fee-bc9d-8a2f5e477887")
13
- @gstxt.locale("en")
14
-
15
- end
16
-
17
- test 'test_use_vcr' do
18
- VCR.use_cassette('test_tool') do
19
- @gs.session_id('7c7a63f6-8bcb-4fee-bc9d-8a2f5e477887')
20
- @tool = @gs.get_tool
21
- assert_equal '7c7a63f6-8bcb-4fee-bc9d-8a2f5e477887', @tool[:session_id]
22
- end
23
- end
24
-
25
- end
Binary file