roart 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +0,0 @@
1
- require File.join(File.dirname(__FILE__), %w[ .. .. spec_helper])
2
-
3
- describe 'array extentions' do
4
-
5
- it 'should turn an array to a nil valued hash' do
6
- array = %w[key1 key2]
7
- hash = array.to_hash
8
- hash.has_key?(:key1).should be_true
9
- hash.has_key?(:key2).should be_true
10
- hash[:key1].should be_nil
11
- end
12
-
13
- end
@@ -1,13 +0,0 @@
1
- require File.join(File.dirname(__FILE__), %w[ .. .. spec_helper])
2
-
3
- describe 'string extentions' do
4
-
5
- it 'should underscore a word' do
6
- 'SomeGuy'.underscore.should == 'some_guy'
7
- end
8
-
9
- it 'should camelcase a word' do
10
- 'some_guy'.camelize.should == 'SomeGuy'
11
- end
12
-
13
- end