download_tv 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/test/torrent_test.rb CHANGED
@@ -1,31 +1,28 @@
1
- require "test_helper"
1
+ require 'test_helper'
2
2
 
3
3
  describe DownloadTV::Torrent do
4
- before do
5
- @t = DownloadTV::Torrent.new
6
- end
4
+ before do
5
+ @t = DownloadTV::Torrent.new
6
+ end
7
7
 
8
- describe "when creating the object" do
9
- it "will have some grabbers" do
10
- @t.g_names.empty?.must_equal false
11
- @t.g_instances.empty?.must_equal false
12
- @t.n_grabbers.must_be :>, 0
13
- end
8
+ describe 'when creating the object' do
9
+ it 'will have some grabbers' do
10
+ @t.g_names.empty?.must_equal false
11
+ @t.g_instances.empty?.must_equal false
12
+ @t.n_grabbers.must_be :>, 0
13
+ end
14
14
 
15
- it "will have the right amount of grabbers" do
16
- # Initiakize calls change_grabbers
17
- @t.n_grabbers.must_equal @t.g_names.size + 1
18
- @t.g_instances.size.must_equal 1
19
-
20
- end
15
+ it 'will have the right amount of grabbers' do
16
+ # Initiakize calls change_grabbers
17
+ @t.n_grabbers.must_equal @t.g_names.size + 1
18
+ @t.g_instances.size.must_equal 1
19
+ end
21
20
 
22
- it "will populate the instances" do
23
- @t.n_grabbers.times.each { @t.change_grabbers }
24
- @t.g_names.empty?.must_equal true
25
- @t.g_instances.empty?.must_equal false
26
- @t.g_instances.size.must_equal @t.n_grabbers
27
-
28
- end
29
-
30
- end
21
+ it 'will populate the instances' do
22
+ @t.n_grabbers.times.each { @t.change_grabbers }
23
+ @t.g_names.empty?.must_equal true
24
+ @t.g_instances.empty?.must_equal false
25
+ @t.g_instances.size.must_equal @t.n_grabbers
26
+ end
27
+ end
31
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: download_tv
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - guille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-03 00:00:00.000000000 Z
11
+ date: 2017-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler