test/unit/test_urb.rb in urb-0.1.3 vs test/unit/test_urb.rb in urb-0.1.4
- old
+ new
@@ -9,11 +9,11 @@
URB.instance_variable_set :@paths, nil
end
describe "URB::VERSION" do
it "has the current version" do
- version = File.read File.expand_path("../../../VERSION", __FILE__)
+ version = File.read(File.expand_path("../../../VERSION", __FILE__)).strip
assert_equal version, URB::VERSION
assert File.read(File.expand_path("../../../CHANGELOG.rdoc", __FILE__)).include?("Version #{version}")
end
end
@@ -109,6 +109,6 @@
end
end
end
end
-end
\ No newline at end of file
+end