oxmlk 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|