wp_roster 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,17 +11,15 @@ module WpRoster
11
11
  its(:url) { should == "https://en.wikipedia.org/wiki/Template:New_York_Mets_roster" }
12
12
  its(:document) { should be_a Nokogiri::HTML::Document }
13
13
 
14
-
15
14
  describe "#roster" do
16
15
 
17
16
  its(:active_roster) { should have_at_least(10).item }
18
- its(:active_roster) { should have(21).item }
17
+ its(:active_roster) { should have(25).item }
19
18
  its(:inactive_roster) { should have_at_least(1).item }
20
- its(:inactive_roster) { should have(12).item }
19
+ its(:inactive_roster) { should have(14).item }
21
20
  its(:coaches_others) { should have_at_least(1).item }
22
21
 
23
- its(:roster) { should have(20).item }
24
-
22
+ its(:roster) { should have(51).item }
25
23
 
26
24
  #it { should be_a WpRoster::Player }
27
25
 
@@ -12,6 +12,8 @@ module WpRoster
12
12
  its(:position) { should eq "Infielder" }
13
13
  its(:active) { should eq "Active" }
14
14
 
15
+ its(:to_s) { should eq "David Wright | 5 | Infielder | Active" }
16
+
15
17
  end
16
18
 
17
19
  end
@@ -8,6 +8,7 @@ module WpRoster
8
8
  subject { roster }
9
9
 
10
10
  its(:players) { should have_at_least(40).item }
11
+
11
12
 
12
13
  end
13
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wp_roster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deans Charbal