oxmlk 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/examples/example.rb +10 -0
- data/lib/oxmlk.rb +1 -1
- data/oxmlk.gemspec +1 -1
- data/spec/oxmlk_spec.rb +10 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/examples/example.rb
CHANGED
data/lib/oxmlk.rb
CHANGED
data/oxmlk.gemspec
CHANGED
data/spec/oxmlk_spec.rb
CHANGED
@@ -116,5 +116,15 @@ describe OxMlk::ClassMethods do
|
|
116
116
|
@klass.ox_elems.size.should == 3
|
117
117
|
end
|
118
118
|
end
|
119
|
+
|
120
|
+
describe '#ox_tag' do
|
121
|
+
it 'should default to class name' do
|
122
|
+
Example.ox_tag.should == 'Example'
|
123
|
+
end
|
124
|
+
|
125
|
+
it 'should default to class name with module removed' do
|
126
|
+
Test::Example.ox_tag.should == 'Example'
|
127
|
+
end
|
128
|
+
end
|
119
129
|
end
|
120
130
|
|