Permalink
Browse files

Fixed one test, released new version. Thanks to andrusha for updating to

Tika 1.2
  • Loading branch information...
1 parent 7dc77fb commit 2b7e22fbed8ba187f7cf7397d6dfaf24fd8bc80d @mrcsparker committed Oct 29, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 ruby_tika_app.gemspec
  2. +2 −2 spec/ruby_tika_app_spec.rb
View
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "ruby_tika_app"
- s.version = "0.2"
+ s.version = "0.3"
s.platform = Gem::Platform::RUBY
s.authors = ["Chris Parker"]
s.email = ["mrcsparker@gmail.com"]
@@ -16,9 +16,9 @@
rta = RubyTikaApp.new(@test_file)
xml = rta.to_xml
- xml_size = xml.size / 2 + 5
+ xml_size = xml.size / 2
- xml[xml_size..(xml_size + 95)].should == "MHRW performs better in well connected graphs than in\nloosely connected graphs, as it was origin"
+ xml[xml_size..(xml_size + 100)].should == "(Section IV). Besides,\nMHRW performs better in well connected graphs than in\nloosely connected graphs"
end
end

0 comments on commit 2b7e22f

Please sign in to comment.