panic_board_data 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ module PanicBoardData
4
4
  class Table
5
5
 
6
6
  def to_html
7
- Object
7
+ "<table></table>"
8
8
  end
9
9
 
10
10
  def self.to_csv data
@@ -1,3 +1,3 @@
1
1
  module PanicBoardData
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -7,14 +7,20 @@ describe PanicBoardData::Table do
7
7
 
8
8
  describe "to_html" do
9
9
 
10
- let(:table) { PanicBoardData::Table.new }
10
+ describe "empty table" do
11
11
 
12
- before do
13
- @result = table.to_html
14
- end
12
+ let(:table) do
13
+ PanicBoardData::Table.new
14
+ end
15
+
16
+ before do
17
+ @result = table.to_html
18
+ end
19
+
20
+ it "should return a result" do
21
+ @result.must_equal "<table></table>"
22
+ end
15
23
 
16
- it "should return a result" do
17
- @result.nil?.must_equal false
18
24
  end
19
25
 
20
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panic_board_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  segments:
145
145
  - 0
146
- hash: 1218767115375863047
146
+ hash: -4148033820212453287
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  none: false
149
149
  requirements:
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  segments:
154
154
  - 0
155
- hash: 1218767115375863047
155
+ hash: -4148033820212453287
156
156
  requirements: []
157
157
  rubyforge_project:
158
158
  rubygems_version: 1.8.25