test/unitwise_test.rb in unitwise-0.3.2 vs test/unitwise_test.rb in unitwise-0.4.0
- old
+ new
@@ -7,9 +7,17 @@
end
it "should accept a lonely string" do
Unitwise('kg').must_be_instance_of Unitwise::Measurement
end
end
+
+ describe 'search' do
+ it "must return results" do
+ Unitwise.search('foo').must_be_instance_of(Array)
+ end
+ end
+
it "should have a path" do
Unitwise.path.must_match(/unitwise$/)
end
-end
\ No newline at end of file
+
+end